Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created August 15, 2012 12:20
Show Gist options
  • Select an option

  • Save cdeil/3359660 to your computer and use it in GitHub Desktop.

Select an option

Save cdeil/3359660 to your computer and use it in GitHub Desktop.
ipython test failures
ip0x0872:~ deil$ nosetests IPython
.............................S...........S.................................F........................................................................................................................................................................................................................................................................................................................................................................................................................E.....................................E.......E.....................................................................................................................................................................................S.............E......................................................S.................................................SS...S..............S............S..S............................................................................................................................................................................................................................................................................S....S..............S
======================================================================
ERROR: Test that namespace cleanup is not too aggressive GH-238
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/testing/decorators.py", line 213, in knownfailer
raise KnownFailureTest, msg
KnownFailureTest: This test is known to fail
======================================================================
ERROR: test that `ipython console` starts a terminal
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/IPython/testing/decorators.py", line 228, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/IPython/frontend/terminal/console/tests/test_console.py", line 47, in test_console_starts
idx = p.expect([r'In \[\d+\]', pexpect.EOF], timeout=15)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pexpect.py", line 1316, in expect
return self.expect_list(compiled_pattern_list, timeout, searchwindowsize)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pexpect.py", line 1330, in expect_list
return self.expect_loop(searcher_re(pattern_list), timeout, searchwindowsize)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pexpect.py", line 1414, in expect_loop
raise TIMEOUT (str(e) + '\n' + str(self))
TIMEOUT: Timeout exceeded in read_nonblocking().
<pexpect.spawn object at 0x118734c10>
version: 2.4 ($Revision: 516 $)
command: /Users/deil/Library/Python/2.7/bin/ipython
args: ['/Users/deil/Library/Python/2.7/bin/ipython', 'console', '--colors=NoColor']
searcher: searcher_re:
0: re.compile("In \[\d+\]")
1: EOF
buffer (last 100 chars): EPoBbt\ufffd\ufffd\ufffd/profile_default/security/kernel-73169.json'
kernel died, restart ([y]/n)?
before (last 100 chars): EPoBbt\ufffd\ufffd\ufffd/profile_default/security/kernel-73169.json'
kernel died, restart ([y]/n)?
after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 73169
child_fd: 51
closed: False
timeout: 30
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
======================================================================
ERROR: Failure: ImportError (IPython.kernel has been replaced by IPython.parallel.
The previous version of IPython's parallel library was located at this
location (IPython.kernel). It has been moved to the IPython.parallel
subpackage and has been refactored to use zeromq/pyzmq instead of twisted.
Please see INSERT URL for further details.
)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/IPython/kernel/__init__.py", line 10, in <module>
raise ImportError(__doc__)
ImportError: IPython.kernel has been replaced by IPython.parallel.
The previous version of IPython's parallel library was located at this
location (IPython.kernel). It has been moved to the IPython.parallel
subpackage and has been refactored to use zeromq/pyzmq instead of twisted.
Please see INSERT URL for further details.
======================================================================
ERROR: Failure: ImportError (No module named pymongo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/IPython/parallel/tests/test_mongodb.py", line 21, in <module>
from pymongo import Connection
ImportError: No module named pymongo
======================================================================
FAIL: Testing of issue https://github.com/ipython/ipython/issues/1107
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/deil/Library/Python/2.7/lib/python/site-packages/IPython/core/tests/test_completerlib.py", line 83, in test_import_invalid_module
assert valid_module_names.issubset(s), valid_module_names.intersection(s)
AssertionError: set([])
----------------------------------------------------------------------
Ran 1180 tests in 155.208s
FAILED (SKIP=13, errors=4, failures=1)
ip0x0872:~ deil$ which ipython
/Users/deil/Library/Python/2.7/bin//ipython
ip0x0872:~ deil$ python -c 'import IPython; print IPython.__file__'
/Users/deil/Library/Python/2.7/lib/python/site-packages/IPython/__init__.pyc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment