mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
gh-105873: Make _xxsubinterpreters use exception type name in shared exception (#105874)
This commit is contained in:
parent
2ef1dc37f0
commit
69a39bd9ad
3 changed files with 4 additions and 4 deletions
|
|
@ -655,7 +655,7 @@ def test_magic_number(self):
|
|||
@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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue