Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: add one more python release to xfail list #266

Merged
merged 1 commit into from
Sep 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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