diff options
author | Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com> | 2023-07-08 08:44:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-08 08:44:50 (GMT) |
commit | 69a39bd9ad52241ca0e9a1926b4536c73017d067 (patch) | |
tree | d69f7a6d07b13127b2d8e01fd9af6ed7abd486a2 /Lib/test/test_importlib/test_util.py | |
parent | 2ef1dc37f02b08536b677dd23ec51541a60effd7 (diff) | |
download | cpython-69a39bd9ad52241ca0e9a1926b4536c73017d067.zip cpython-69a39bd9ad52241ca0e9a1926b4536c73017d067.tar.gz cpython-69a39bd9ad52241ca0e9a1926b4536c73017d067.tar.bz2 |
gh-105873: Make `_xxsubinterpreters` use exception type name in shared exception (#105874)
Diffstat (limited to 'Lib/test/test_importlib/test_util.py')
-rw-r--r-- | Lib/test/test_importlib/test_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_util.py b/Lib/test/test_importlib/test_util.py index e967adc..5da72a2 100644 --- a/Lib/test/test_importlib/test_util.py +++ b/Lib/test/test_importlib/test_util.py @@ -655,7 +655,7 @@ class MagicNumberTests(unittest.TestCase): @unittest.skipIf(_interpreters is None, 'subinterpreters required') class IncompatibleExtensionModuleRestrictionsTests(unittest.TestCase): - ERROR = re.compile("^<class 'ImportError'>: module (.*) does not support loading in subinterpreters") + ERROR = re.compile("^ImportError: module (.*) does not support loading in subinterpreters") def run_with_own_gil(self, script): interpid = _interpreters.create(isolated=True) |