Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 301e3cc commit 483000eCopy full SHA for 483000e
1 file changed
Lib/test/test_importlib/extension/test_loader.py
@@ -275,10 +275,13 @@ def test_bad_traverse(self):
275
(Multiphase initialization modules only)
276
'''
277
script = """if True:
278
+ from test import support
279
import importlib.util as util
280
spec = util.find_spec('_testmultiphase')
281
spec.name = '_testmultiphase_with_bad_traverse'
- m = spec.loader.create_module(spec)"""
282
+
283
+ with support.SuppressCrashReport():
284
+ m = spec.loader.create_module(spec)"""
285
assert_python_failure("-c", script)
286
287
0 commit comments