Skip to content

Commit 03503dc

Browse files
authored
gh-156676: Skip test_pyinit_function_raises_exception for other implementations (GH-156684)
See also RustPython/RustPython#8605
1 parent e50e41f commit 03503dc

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
@@ -2544,6 +2544,7 @@ def test_disallowed_reimport(self):
25442544
excsnap = _interpreters.run_string(interpid, script)
25452545
self.assertIsNot(excsnap, None)
25462546

2547+
@cpython_only
25472548
@requires_subinterpreters
25482549
def test_pyinit_function_raises_exception(self):
25492550
# gh-144601: PyInit functions that raised exceptions would cause a

0 commit comments

Comments
 (0)