Skip to content

Commit 6c679f8

Browse files
committed
Fix regressions
1 parent 9b02562 commit 6c679f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testtools/tests/matchers/test_higherorder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ class TestAnyMatch(TestCase, TestMatchersInterface):
8181
]
8282

8383

84-
class TestAfterPreprocessing(TestCase, TestMatchersInterface):
85-
@staticmethod
86-
def parity(x):
87-
return x % 2
84+
def parity(x):
85+
return x % 2
86+
8887

88+
class TestAfterPreprocessing(TestCase, TestMatchersInterface):
8989
matches_matcher: ClassVar = AfterPreprocessing(parity, Equals(1))
9090
matches_matches: ClassVar = [3, 5]
9191
matches_mismatches: ClassVar = [2]

0 commit comments

Comments
 (0)