Skip to content

Commit 2e91c7e

Browse files
authored
gh-104469: Convert _testcapi/exceptions to use AC (gh-104502)
1 parent 60993ba commit 2e91c7e

File tree

4 files changed

+533
-99
lines changed

4 files changed

+533
-99
lines changed

Lib/test/test_capi/test_exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def check_fatal_error(self, code, expected, not_expected=()):
6666
rc, out, err = assert_python_failure('-sSI', '-c', code)
6767

6868
err = decode_stderr(err)
69-
self.assertIn('Fatal Python error: test_fatal_error: MESSAGE\n',
69+
self.assertIn('Fatal Python error: _testcapi_fatal_error_impl: MESSAGE\n',
7070
err)
7171

7272
match = re.search(r'^Extension modules:(.*) \(total: ([0-9]+)\)$',

Lib/test/test_faulthandler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ def check_fatal_error_func(self, release_gil):
270270
""",
271271
2,
272272
'xyz',
273-
func='test_fatal_error',
273+
func='_testcapi_fatal_error_impl',
274274
py_fatal_error=True)
275275

276276
def test_fatal_error(self):

0 commit comments

Comments
 (0)