Still fails with 3.1 alpha2:
======================================================================
ERROR: test_is_package
(importlib.test.frozen.test_loader.InspectLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/frozen/test_loader.py", line 80, in
test_is_package
result = machinery.FrozenImporter.is_package(name)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/_bootstrap.py", line 191, in wrapper
return fxn(self, fullname)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/_bootstrap.py", line 301, in is_package
return imp.is_frozen_package(fullname)
AttributeError: 'module' object has no attribute 'is_frozen_package'
======================================================================
ERROR: test_lacking_parent
(importlib.test.source.test_abc_loader.PyLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 162, in
test_lacking_parent
__loader__=mock)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 128, in
eq_attrs
"{} attribute: {} != {}".format(attr, found, val))
ValueError: zero length field name in format
======================================================================
ERROR: test_module (importlib.test.source.test_abc_loader.PyLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 138, in
test_module
__loader__=mock)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 128, in
eq_attrs
"{} attribute: {} != {}".format(attr, found, val))
ValueError: zero length field name in format
======================================================================
ERROR: test_package
(importlib.test.source.test_abc_loader.PyLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 151, in
test_package
__loader__=mock)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 128, in
eq_attrs
"{} attribute: {} != {}".format(attr, found, val))
ValueError: zero length field name in format
======================================================================
ERROR: test_lacking_parent
(importlib.test.source.test_abc_loader.PyPycLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 270, in
test_lacking_parent
mock, name = super().test_lacking_parent()
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 162, in
test_lacking_parent
__loader__=mock)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 128, in
eq_attrs
"{} attribute: {} != {}".format(attr, found, val))
ValueError: zero length field name in format
======================================================================
ERROR: test_module
(importlib.test.source.test_abc_loader.PyPycLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 262, in
test_module
mock, name = super().test_module()
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 138, in
test_module
__loader__=mock)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 128, in
eq_attrs
"{} attribute: {} != {}".format(attr, found, val))
ValueError: zero length field name in format
======================================================================
ERROR: test_package
(importlib.test.source.test_abc_loader.PyPycLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 266, in
test_package
mock, name = super().test_package()
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 151, in
test_package
__loader__=mock)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 128, in
eq_attrs
"{} attribute: {} != {}".format(attr, found, val))
ValueError: zero length field name in format
======================================================================
FAIL: test_case_insensitivity
(importlib.test.extension.test_case_sensitivity.ExtensionModuleCaseSensi
tivityTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/extension/test_case_sensitivity.py", line 29,
in test_case_insensitivity
self.assert_(hasattr(loader, 'load_module'))
AssertionError: False is not True
======================================================================
FAIL: test_module_reuse
(importlib.test.source.test_abc_loader.PyPycLoaderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 275, in
test_module_reuse
self.verify_bytecode(mock, name)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/util.py", line 18, in wrapper
to_return = fxn(*args, **kwargs)
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_abc_loader.py", line 253, in
verify_bytecode
self.assert_(name in mock.module_bytecode)
AssertionError: False is not True
======================================================================
FAIL: test_insensitive
(importlib.test.source.test_case_sensitivity.CaseSensitivityTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/cartman/Downloads/Python-
3.1a2/Lib/importlib/test/source/test_case_sensitivity.py", line 49, in
test_insensitive
self.assert_(hasattr(insensitive, 'load_module'))
AssertionError: False is not True |