Skip to content

Commit 7e64048

Browse files
committed
Demo potential off by one error
1 parent cbff3e1 commit 7e64048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_subtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def test_foo(subtests):
593593
assert False
594594
595595
with subtests.test("sub2"):
596-
pass
596+
assert False
597597
"""
598598
)
599599
result = pytester.runpytest("--exitfirst")

0 commit comments

Comments
 (0)