Skip to content

Commit 8d97d4a

Browse files
committed
TST: use pass instead of skip in test_requires_module_variable
1 parent 789ba6e commit 8d97d4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_doctestplus.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,12 +1604,12 @@ def i():
16041604
'''
16051605
>>> assert False, "This should be skipped due to version requirement not being met"
16061606
'''
1607-
skip
1607+
pass
16081608
16091609
def j():
16101610
'''
16111611
>>> import module_that_is_not_availabe
16121612
'''
1613-
skip
1613+
pass
16141614
""")
16151615
testdir.inline_run(p, '--doctest-plus').assertoutcome(passed=2, skipped=3)

0 commit comments

Comments
 (0)