Skip to content

Instantly share code, notes, and snippets.

Created September 27, 2012 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3796995 to your computer and use it in GitHub Desktop.
Save anonymous/3796995 to your computer and use it in GitHub Desktop.
..............................................
----------------------------------------------------------------------
Ran 46 tests in 0.085s
OK
[?1034h......................................................................................................................................................................................................................S....................................................................................................................................K............
----------------------------------------------------------------------
Ran 360 tests in 13.653s
OK (KNOWNFAIL=1, SKIP=1)
[?1034h.
----------------------------------------------------------------------
Ran 1 test in 0.001s
OK
[?1034h..............
----------------------------------------------------------------------
Ran 14 tests in 2.410s
OK
[?1034h................SS...SSS.........
----------------------------------------------------------------------
Ran 33 tests in 1.452s
OK (SKIP=5)
[?1034h............................S....S.......................S
----------------------------------------------------------------------
Ran 58 tests in 2.901s
OK (SKIP=3)
[?1034h.......................................................................SS...S..............S............S..S.....................................................S.........S...................................................
----------------------------------------------------------------------
Ran 223 tests in 2.102s
OK (SKIP=8)
[?1034h......................................................
----------------------------------------------------------------------
Ran 54 tests in 0.051s
OK
[?1034hSF
======================================================================
FAIL: Does the in-process kernel handle raw_input correctly?
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/minrk/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.14.dev-py3.2.egg/IPython/inprocess/tests/test_kernel.py", line 54, in test_raw_input
self.assertEqual(km.kernel.shell.user_ns.get('x'), 'foobar')
AssertionError: None != 'foobar'
"None != 'foobar'" = '%s != %s' % (safe_repr(None), safe_repr('foobar'))
"None != 'foobar'" = self._formatMessage("None != 'foobar'", "None != 'foobar'")
>> raise self.failureException("None != 'foobar'")
-------------------- >> begin captured logging << --------------------
IPython.inprocess.ipkernel: DEBUG:
*** MESSAGE TYPE:execute_request***
IPython.inprocess.ipkernel: DEBUG: Content: {'user_variables': [], 'code': 'x = raw_input()', 'silent': False, 'allow_stdin': True, 'store_history': True, 'user_expressions': {}}
--->
IPython.inprocess.ipkernel: DEBUG: {'parent_header': {'username': 'minrk', 'version': [0, 14, 0, 'dev'], 'session': '5e2143bd-a77f-4b46-bc96-9fb3dfa27850', 'msg_type': 'execute_request', 'date': datetime.datetime(2012, 9, 27, 16, 2, 8, 111582), 'msg_id': '66b0cab3-c53f-45f5-9a5e-ed9bb1028bdb'}, 'msg_type': 'execute_reply', 'msg_id': '74a6a0fc-808d-49d7-bf83-75dc16d7ad8b', 'content': {'status': 'error', 'ename': 'NameError', 'user_variables': {}, 'evalue': "name 'raw_input' is not defined", 'traceback': ['\x1b[0;31m---------------------------------------------------------------------------\x1b[0m\n\x1b[0;31mNameError\x1b[0m Traceback (most recent call last)', '\x1b[0;32m<ipython-input-1-f378412a6e48>\x1b[0m in \x1b[0;36m<module>\x1b[0;34m()\x1b[0m\n\x1b[0;32m----> 1\x1b[0;31m \x1b[0mx\x1b[0m \x1b[0;34m=\x1b[0m \x1b[0mraw_input\x1b[0m\x1b[0;34m(\x1b[0m\x1b[0;34m)\x1b[0m\x1b[0;34m\x1b[0m\x1b[0m\n\x1b[0m', "\x1b[0;31mNameError\x1b[0m: name 'raw_input' is not defined"], 'execution_count': 1, 'user_expressions': {}, 'engine_info': {'engine_uuid': '5b26011e-c3b6-44e7-b80d-2923519fead7', 'method': 'execute', 'engine_id': -1}, 'payload': []}, 'header': {'username': 'minrk', 'msg_type': 'execute_reply', 'msg_id': '74a6a0fc-808d-49d7-bf83-75dc16d7ad8b', 'version': [0, 14, 0, 'dev'], 'session': 'ba62c77c-4aa4-4079-aa43-c2a279546c9f', 'date': datetime.datetime(2012, 9, 27, 16, 2, 8, 317008)}, 'tracker': <zmq.core.message.MessageTracker object at 0x108ef0a50>, 'metadata': {'dependencies_met': True, 'engine': '5b26011e-c3b6-44e7-b80d-2923519fead7', 'status': 'error', 'started': datetime.datetime(2012, 9, 27, 16, 2, 8, 113921)}}
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 2 tests in 0.343s
FAILED (SKIP=1, failures=1)
................................
----------------------------------------------------------------------
Ran 32 tests in 12.931s
OK
[?1034h**********************************************************************
IPython test group: IPython.config
**********************************************************************
IPython test group: IPython.core
**********************************************************************
IPython test group: IPython.extensions
**********************************************************************
IPython test group: IPython.frontend
**********************************************************************
IPython test group: IPython.lib
**********************************************************************
IPython test group: IPython.testing
**********************************************************************
IPython test group: IPython.utils
**********************************************************************
IPython test group: IPython.nbformat
**********************************************************************
IPython test group: IPython.inprocess
**********************************************************************
IPython test group: IPython.zmq
**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '22b1610',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/Users/minrk/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.14.dev-py3.2.egg/IPython',
'ipython_version': '0.14.dev',
'os_name': 'posix',
'platform': 'Darwin-12.2.0-x86_64-i386-64bit',
'sys_executable': '/Users/minrk/.ipy_pr_tests/venv-python3.2/bin/python',
'sys_platform': 'darwin',
'sys_version': '3.2.3 (default, Jul 25 2012, 21:03:57) \n[GCC 4.2.1 Compatible Apple Clang 4.0 ((tags/Apple/clang-421.0.57))]'}
Tools and libraries available at test time:
curses numpy pexpect sqlite3 tornado zmq
Tools and libraries NOT available at test time:
azure cython matplotlib oct2py pygments pymongo qt rpy2 wx wx.aui
Ran 10 test groups in 51.759s
Status:
ERROR - 1 out of 10 test groups failed.
----------------------------------------
Runner failed: IPython.inprocess
You may wish to rerun this one individually, with:
/Users/minrk/.ipy_pr_tests/venv-python3.2/bin/python /Users/minrk/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.14.dev-py3.2.egg/IPython/testing/iptest.py -x IPython.inprocess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment