Skip to content

Commit a1846a5

Browse files
committed
fix invalid signature
1 parent 8965407 commit a1846a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

testing/python/collect.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -776,13 +776,13 @@ def test_ordered_by_definition_order(self, pytester: Pytester) -> None:
776776
pytester.makepyfile(
777777
"""\
778778
class Test1:
779-
def test_foo(): pass
780-
def test_bar(): pass
779+
def test_foo(self): pass
780+
def test_bar(self): pass
781781
class Test2:
782-
def test_foo(): pass
782+
def test_foo(self): pass
783783
test_bar = Test1.test_bar
784784
class Test3(Test2):
785-
def test_baz(): pass
785+
def test_baz(self): pass
786786
"""
787787
)
788788
result = pytester.runpytest("--collect-only")

0 commit comments

Comments
 (0)