Skip to content

Commit 0a22207

Browse files
committed
-
1 parent 5c6bf87 commit 0a22207

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source_py3/test_python_toolbox/test_combi/test_exhaustive.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ def _check_variation_selection(variation_selection, perm_space_type,
372372

373373
perm_repr = repr(perm)
374374

375-
def test():
375+
def shit():
376376
for variation_selection in combi.variations.variation_selection_space:
377377

378378
kwargs = {}
@@ -456,4 +456,8 @@ def test():
456456
n_elements_options, is_combination_options,
457457
purified_fixed_map_options, degrees_options, slice_options)
458458
):
459-
yield (_check_variation_selection,) + product
459+
yield (_check_variation_selection,) + product
460+
461+
for i, x in enumerate(shit()):
462+
locals()['f_%s' % i] = lambda: x[0](*x[1:])
463+
exec('def test_%s(): return f_%s()' % (i, i))

0 commit comments

Comments
 (0)