We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_interpreters
1 parent 66bca38 commit 499d3a8Copy full SHA for 499d3a8
Lib/test/test_interpreters/test_api.py
@@ -886,7 +886,7 @@ def test_created_with_capi(self):
886
with self.assertRaisesRegex(InterpreterError, 'unrecognized'):
887
interp.prepare_main({'spam': True})
888
with self.assertRaisesRegex(ExecutionFailed, 'NameError'):
889
- self.run_from_capi(interpid, 'assert spam is True')
+ self.run_from_capi(interpid, 'spam')
890
891
892
class TestInterpreterExec(TestBase):
0 commit comments