@@ -732,21 +732,19 @@ def f():
732732 testdir .makefile ('.rst' , foo = '>>> 1+1\n 2' )
733733
734734 testdir .inline_run ('--doctest-plus' ).assertoutcome (passed = 2 )
735- testdir .inline_run ('--doctest-plus' , '--doctest-rst' ).assertoutcome (passed = 3 )
736- testdir .inline_run (
737- '--doctest-plus' , '--doctest-rst' , '--ignore' , '.'
738- ).assertoutcome (passed = 0 )
739735 if os .name == "nt" and python_version () == "3.14.0" and not PYTEST_LT_8_5 :
740736 with warnings .catch_warnings ():
741737 # ResourceWarning unclosed file pytest.EXE --> PytestUnraisableExceptionWarning
742738 warnings .filterwarnings ("ignore" )
743- testdir .inline_run (
744- '--doctest-plus' , '--doctest-rst' , '--ignore' , 'bar.py'
745- ).assertoutcome (passed = 2 )
739+ testdir .inline_run ('--doctest-plus' , '--doctest-rst' ).assertoutcome (passed = 3 )
746740 else :
747- testdir .inline_run (
748- '--doctest-plus' , '--doctest-rst' , '--ignore' , 'bar.py'
749- ).assertoutcome (passed = 2 )
741+ testdir .inline_run ('--doctest-plus' , '--doctest-rst' ).assertoutcome (passed = 3 )
742+ testdir .inline_run (
743+ '--doctest-plus' , '--doctest-rst' , '--ignore' , '.'
744+ ).assertoutcome (passed = 0 )
745+ testdir .inline_run (
746+ '--doctest-plus' , '--doctest-rst' , '--ignore' , 'bar.py'
747+ ).assertoutcome (passed = 2 )
750748
751749
752750def test_ignore_glob_option (testdir ):
0 commit comments