diff options
Diffstat (limited to 'Lib/test/test_interpreters/test_api.py')
-rw-r--r-- | Lib/test/test_interpreters/test_api.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_interpreters/test_api.py b/Lib/test/test_interpreters/test_api.py index 01856d9..66c7afc 100644 --- a/Lib/test/test_interpreters/test_api.py +++ b/Lib/test/test_interpreters/test_api.py @@ -693,8 +693,7 @@ class TestInterpreterPrepareMain(TestBase): def test_not_shareable(self): interp = interpreters.create() - # XXX TypeError? - with self.assertRaises(ValueError): + with self.assertRaises(interpreters.NotShareableError): interp.prepare_main(spam={'spam': 'eggs', 'foo': 'bar'}) # Make sure neither was actually bound. |