@@ -1129,7 +1129,7 @@ def test_main(testdir):
1129
1129
'''
1130
1130
def f():
1131
1131
raise RuntimeError("This is a CLI, do not execute module while doctesting")
1132
-
1132
+
1133
1133
f()
1134
1134
'''
1135
1135
)
@@ -1142,7 +1142,7 @@ def f():
1142
1142
1143
1143
1144
1144
@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' ),
1146
1146
reason = 'broken by https://github.com/python/cpython/pull/115440' )
1147
1147
def test_ufunc (testdir ):
1148
1148
pytest .importorskip ('numpy' )
@@ -1348,15 +1348,15 @@ def g():
1348
1348
# Create a bad file that should be skipped by its name
1349
1349
okay_subdir1 = testdir .mkdir ("okay_foo_dir" )
1350
1350
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" )
1352
1352
# Create a good file in that directory that doctest won't skip
1353
1353
good_file1 = okay_subdir1 .join ("good_file1.py" )
1354
1354
good_file1 .write_text (good_text , "utf-8" )
1355
1355
1356
1356
# Create another bad file that should be skipped by its name
1357
1357
okay_subdir2 = testdir .mkdir ("okay_bar_dir" )
1358
1358
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" )
1360
1360
# Create a good file in that directory that doctest won't skip
1361
1361
good_file2 = okay_subdir2 .join ("good_file2.py" )
1362
1362
good_file2 .write_text (good_text , "utf-8" )
0 commit comments