fix invalid signature

This commit is contained in:
Aleksandr Brodin 2023-09-05 17:54:20 +07:00
parent 24a6ee1ffd
commit a60c23c3d8
1 changed files with 4 additions and 4 deletions

View File

@ -776,13 +776,13 @@ class TestSorting:
pytester.makepyfile(
"""\
class Test1:
def test_foo(): pass
def test_bar(): pass
def test_foo(self): pass
def test_bar(self): pass
class Test2:
def test_foo(): pass
def test_foo(self): pass
test_bar = Test1.test_bar
class Test3(Test2):
def test_baz(): pass
def test_baz(self): pass
"""
)
result = pytester.runpytest("--collect-only")