Skip to content

Commit af2672e

Browse files
authored
Merge pull request #266 from bsipocz/TST_add_new_python_release
TST: add one more python release to xfail list
2 parents b2577bd + 4fad8f9 commit af2672e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_doctestplus.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ def test_main(testdir):
11291129
'''
11301130
def f():
11311131
raise RuntimeError("This is a CLI, do not execute module while doctesting")
1132-
1132+
11331133
f()
11341134
'''
11351135
)
@@ -1142,7 +1142,7 @@ def f():
11421142

11431143

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

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

0 commit comments

Comments
 (0)