Skip to content

Commit

Permalink
Merge pull request #266 from bsipocz/TST_add_new_python_release
Browse files Browse the repository at this point in the history
TST: add one more python release to xfail list
  • Loading branch information
pllim authored Sep 25, 2024
2 parents b2577bd + 4fad8f9 commit af2672e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_doctestplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ def test_main(testdir):
'''
def f():
raise RuntimeError("This is a CLI, do not execute module while doctesting")
f()
'''
)
Expand All @@ -1142,7 +1142,7 @@ def f():


@pytest.mark.xfail(
python_version() in ('3.11.9', '3.12.3'),
python_version() in ('3.11.9', '3.11.10', '3.12.3'),
reason='broken by https://github.com/python/cpython/pull/115440')
def test_ufunc(testdir):
pytest.importorskip('numpy')
Expand Down Expand Up @@ -1348,15 +1348,15 @@ def g():
# Create a bad file that should be skipped by its name
okay_subdir1 = testdir.mkdir("okay_foo_dir")
bad_file = okay_subdir1.join("bad_file.py")
bad_file.write_text(bad_text, "utf-8")
bad_file.write_text(bad_text, "utf-8")
# Create a good file in that directory that doctest won't skip
good_file1 = okay_subdir1.join("good_file1.py")
good_file1.write_text(good_text, "utf-8")

# Create another bad file that should be skipped by its name
okay_subdir2 = testdir.mkdir("okay_bar_dir")
bad_file = okay_subdir2.join("bad_file.py")
bad_file.write_text(bad_text, "utf-8")
bad_file.write_text(bad_text, "utf-8")
# Create a good file in that directory that doctest won't skip
good_file2 = okay_subdir2.join("good_file2.py")
good_file2.write_text(good_text, "utf-8")
Expand Down

0 comments on commit af2672e

Please sign in to comment.