mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Merge 9735b12d87 into f9704f1d84
This commit is contained in:
commit
acd85f2d18
1 changed files with 1 additions and 1 deletions
|
|
@ -886,7 +886,7 @@ class TestInterpreterPrepareMain(TestBase):
|
|||
with self.assertRaisesRegex(InterpreterError, 'unrecognized'):
|
||||
interp.prepare_main({'spam': True})
|
||||
with self.assertRaisesRegex(ExecutionFailed, 'NameError'):
|
||||
self.run_from_capi(interpid, 'assert spam is True')
|
||||
self.run_from_capi(interpid, 'spam')
|
||||
|
||||
|
||||
class TestInterpreterExec(TestBase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue