Skip to content
Snippets Groups Projects
Commit 7b6f4745 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

hypothesis_strategies/snapshots: Explain last post-processing step

parent 4e4c4ff2
No related branches found
No related tags found
No related merge requests found
......@@ -200,6 +200,7 @@ def snapshots(draw, *, min_size=0, max_size=100, only_objects=False):
for alias in unresolved_aliases:
branches[alias] = draw(branch_targets(only_objects=True))
# Ensure no cycles between aliases
while True:
try:
id_ = snapshot_identifier({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment