Skip to content

Commit 8c74ff8

Browse files
saiofflmiss-islington
authored andcommitted
gh-156676: Skip test_pyinit_function_raises_exception for other implementations (GH-156684)
See also RustPython/RustPython#8605 (cherry picked from commit 03503dc) Co-authored-by: sai <internoffl@gmail.com>
1 parent 5136a68 commit 8c74ff8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_import/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,6 +2541,7 @@ def test_disallowed_reimport(self):
25412541
excsnap = _interpreters.run_string(interpid, script)
25422542
self.assertIsNot(excsnap, None)
25432543

2544+
@cpython_only
25442545
@requires_subinterpreters
25452546
def test_pyinit_function_raises_exception(self):
25462547
# gh-144601: PyInit functions that raised exceptions would cause a

0 commit comments

Comments
 (0)