Skip to content

Commit aca1c97

Browse files
committed
-
1 parent 5c3e1aa commit aca1c97

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

source_py3/python_toolbox/combi/perming/perm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,9 @@ class UnrecurrentedMixin:
430430
__iter__ = lambda self: iter(tuple(zip(*super().__iter__()))[1])
431431
index = lambda self, item: self.nominal_perm_space.domain[
432432
next(j for j, pair in enumerate(self._perm_sequence)
433-
if pair[1] == item),
434-
'''Get the index number of `member` in the permutation.'''
433+
if pair[1] == item)
435434
]
435+
'''Get the index number of `member` in the permutation.'''
436436

437437
class UnrecurrentedPerm(UnrecurrentedMixin, Perm):
438438
'''A permutation in a space that's been unrecurrented.'''

source_py3/test_python_toolbox/test_combi/test_extensive.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,13 @@ def _check_variation_selection(variation_selection, perm_space_type,
413413

414414

415415
def _iterate_tests():
416-
for variation_selection in combi.variations.variation_selection_space:
416+
for variation_selection in \
417+
combi.perming.variations.variation_selection_space:
417418

418419
kwargs = {}
419420

420421
if variation_selection.is_recurrent and \
421-
not variation_selection.is_rapplied:
422+
not variation_selection.is_rapplied:
422423
assert not variation_selection.is_allowed
423424
# Can't even test this illogical clash.
424425
continue

0 commit comments

Comments
 (0)