Skip to content

Commit 6530da9

Browse files
committed
fixup! Add missing __test__ check for test discovery.
1 parent 6f38427 commit 6530da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_collection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def test_can_skip_class_with_test_attr(self, testdir):
9191
class TestFoo():
9292
__test__ = False
9393
def __init__(self):
94-
return self.__init__()
94+
pass
9595
def test_foo():
9696
assert True
9797
""")

0 commit comments

Comments
 (0)