upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_cfg_structure.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cfg_structure.py')
-rw-r--r--tests/test_cfg_structure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cfg_structure.py b/tests/test_cfg_structure.py
index 116174b8b..d4fa49058 100644
--- a/tests/test_cfg_structure.py
+++ b/tests/test_cfg_structure.py
@@ -134,7 +134,7 @@ def _check_random_graphs():
134 opts = _ns[b] 134 opts = _ns[b]
135 if not opts: 135 if not opts:
136 return S.END 136 return S.END
137 return opts[random.Random(f"{_seed}/{ob}/{k}").randrange(len(opts))] 137 return opts[branch_index(_seed, ob, k, len(opts))]
138 138
139 got = [orig[b] for b in S.run(stree, split_choose, 200)] 139 got = [orig[b] for b in S.run(stree, split_choose, 200)]
140 assert got == want, f"split graph {succ} seed {seed}: tree ran {got}, graph runs {want}" 140 assert got == want, f"split graph {succ} seed {seed}: tree ran {got}, graph runs {want}"