summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 1e03e66..b9de2c8 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -96,7 +96,7 @@ def shardedp(f):
rel_path = relative_path(f, config)
shard = "%s.shard%s" % (path.join(node, rel_path), i)
i += 1
- assert path.isfile(shard)
+ assert path.exists(shard) and path.isfile(shard)
def dirp(d):