Skip to content

Commit a14fc10

Browse files
add a test function to the test
1 parent 05d7e60 commit a14fc10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testing/test_assertrewrite.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2062,6 +2062,9 @@ def test_constant_not_picked_as_module_docstring(self, pytester: Pytester) -> No
20622062
pytester.makepyfile(
20632063
"""\
20642064
0
2065+
2066+
def test_foo():
2067+
pass
20652068
"""
20662069
)
20672070
result = pytester.runpytest()

0 commit comments

Comments
 (0)