Created
May 26, 2015 21:01
-
-
Save Carreau/518c3fdddb316432fad5 to your computer and use it in GitHub Desktop.
nose failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ iptest3 IPython.lib.tests | |
Test group: IPython.lib.tests | |
...........................................Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/site-packages/nose/loader.py", line 255, in generate | |
test_func = getattr(m, test_func) | |
TypeError: getattr(): attribute name must be string | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 210, in run | |
self.setUp() | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 271, in setUp | |
if not self: | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 86, in __bool__ | |
test = next(self.test_generator) | |
File "/usr/local/lib/python3.4/site-packages/nose/loader.py", line 262, in generate | |
address=test_address(generator)) | |
File "/usr/local/lib/python3.4/site-packages/nose/failure.py", line 22, in __init__ | |
log.debug("A failure! %s %s %s", exc_class, exc_val, format_tb(tb)) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 93, in format_tb | |
return format_list(extract_tb(tb, limit=limit)) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 106, in extract_tb | |
return list(_extract_tb_iter(tb, limit=limit)) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 65, in _extract_tb_or_stack_iter | |
line = linecache.getline(filename, lineno, f.f_globals) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/linecache.py", line 15, in getline | |
lines = getlines(filename, module_globals) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/linecache.py", line 41, in getlines | |
return updatecache(filename, module_globals) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/linecache.py", line 126, in updatecache | |
with tokenize.open(fullname) as fp: | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", line 438, in open | |
buffer = _builtin_open(filename, 'rb') | |
TypeError: open() takes 1 positional argument but 2 were given | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/site-packages/nose/result.py", line 187, in _exc_info_to_string | |
return _TextTestResult._exc_info_to_string(self, err, test) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/unittest/result.py", line 184, in _exc_info_to_string | |
msgLines = traceback.format_exception(exctype, value, tb) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 181, in format_exception | |
return list(_format_exception_iter(etype, value, tb, limit, chain)) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 153, in _format_exception_iter | |
yield from _format_list_iter(_extract_tb_iter(tb, limit=limit)) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 18, in _format_list_iter | |
for filename, lineno, name, line in extracted_list: | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/traceback.py", line 65, in _extract_tb_or_stack_iter | |
line = linecache.getline(filename, lineno, f.f_globals) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/linecache.py", line 15, in getline | |
lines = getlines(filename, module_globals) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/linecache.py", line 41, in getlines | |
return updatecache(filename, module_globals) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/linecache.py", line 126, in updatecache | |
with tokenize.open(fullname) as fp: | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/tokenize.py", line 438, in open | |
buffer = _builtin_open(filename, 'rb') | |
TypeError: open() takes 1 positional argument but 2 were given | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/site-packages/nose/result.py", line 61, in addError | |
exc_info = self._exc_info_to_string(err, test) | |
File "/usr/local/lib/python3.4/site-packages/nose/result.py", line 190, in _exc_info_to_string | |
return _TextTestResult._exc_info_to_string(self, err) | |
TypeError: _exc_info_to_string() missing 1 required positional argument: 'test' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/Users/bussonniermatthias/dev/ipython/IPython/testing/iptest.py", line 436, in run_iptest | |
TestProgram(argv=argv, addplugins=plugins) | |
File "/usr/local/lib/python3.4/site-packages/nose/core.py", line 121, in __init__ | |
**extra_args) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/unittest/main.py", line 93, in __init__ | |
self.runTests() | |
File "/usr/local/lib/python3.4/site-packages/nose/core.py", line 207, in runTests | |
result = self.testRunner.run(self.test) | |
File "/usr/local/lib/python3.4/site-packages/nose/core.py", line 62, in run | |
test(result) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 178, in __call__ | |
return self.run(*arg, **kw) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 225, in run | |
test(orig) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 178, in __call__ | |
return self.run(*arg, **kw) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 225, in run | |
test(orig) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 178, in __call__ | |
return self.run(*arg, **kw) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 225, in run | |
test(orig) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 178, in __call__ | |
return self.run(*arg, **kw) | |
File "/usr/local/lib/python3.4/site-packages/nose/suite.py", line 215, in run | |
result.addError(self, self._exc_info()) | |
File "/usr/local/lib/python3.4/site-packages/nose/proxy.py", line 132, in addError | |
self.result.addError(self.test, self._prepareErr(err)) | |
File "/usr/local/lib/python3.4/site-packages/nose/result.py", line 64, in addError | |
exc_info = self._exc_info_to_string(err) | |
File "/usr/local/lib/python3.4/site-packages/nose/result.py", line 187, in _exc_info_to_string | |
return _TextTestResult._exc_info_to_string(self, err, test) | |
File "/usr/local/Cellar/python3/3.4.3/Frameworks/Python.framework/Versions/3.4/lib/python3.4/unittest/result.py", line 179, in _exc_info_to_string | |
if exctype is test.failureException: | |
AttributeError: 'NoneType' object has no attribute 'failureException' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment