Merge pull request #11428 from ShurikMen/fix_tests_signature

Fix invalid signature in TestSorting tests
This commit is contained in:
Ran Benita 2023-09-11 10:30:45 +03:00 committed by GitHub
commit 3d1c52f203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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")