Skip to content

Commit

Permalink
fix test in case of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Jun 5, 2017
1 parent 9430ef5 commit 1dc9167
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_build_caches.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def test_build_caches():
cache = generate_distribution_cache(index, dist_name)
except RuntimeError as e:
errors.append(str(e))
caches[dist_name] = cache
else:
caches[dist_name] = cache

# also check topological order to prevent circular dependencies
for dist_name, cache in caches.items():
Expand Down

0 comments on commit 1dc9167

Please sign in to comment.