Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created June 21, 2012 12:26
Show Gist options
  • Save cdeil/2965471 to your computer and use it in GitHub Desktop.
Save cdeil/2965471 to your computer and use it in GitHub Desktop.
IPython test log
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
................................S...........S.
----------------------------------------------------------------------
Ran 46 tests in 0.115s
OK (SKIP=2)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
.........................................................................................................................................................................................................S...............................S..................................................................EE.................KE..E.....
======================================================================
ERROR: test_startup_ipy (IPython.core.tests.test_profile.ProfileStartupTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/tests/test_profile.py", line 118, in test_startup_ipy
self.validate('test')
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/tests/test_profile.py", line 107, in validate
tt.ipexec_validate(self.fname, output, '', options=self.options)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/tools.py", line 262, in ipexec_validate
(fname, err))
ValueError: Running file '/var/folders/9v/3cf9p8mx0n1gzcsq3mw9799m0000gn/T/tmp5678ru/test.py' produced error: 'No entry for terminal type "xterm-256color";\nusing dumb terminal settings.\n/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning: \n******************************************************************************\nlibedit detected - readline will not be well behaved, including but not limited to:\n * crashes on tab completion\n * incorrect history navigation\n * corrupting long-lines\n * failure to wrap or indent lines properly\nIt is highly recommended that you install readline, which is easy_installable:\n easy_install readline\nNote that `pip install readline` generally DOES NOT WORK, because\nit installs to site-packages, which come *after* lib-dynload in sys.path,\nwhere readline is located. It must be `easy_install readline`, or to a custom\nlocation on your PYTHONPATH (even --user comes after lib-dyload).\n******************************************************************************\n RuntimeWarning)\n'
======================================================================
ERROR: test_startup_py (IPython.core.tests.test_profile.ProfileStartupTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/tests/test_profile.py", line 113, in test_startup_py
self.validate('123')
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/tests/test_profile.py", line 107, in validate
tt.ipexec_validate(self.fname, output, '', options=self.options)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/tools.py", line 262, in ipexec_validate
(fname, err))
ValueError: Running file '/var/folders/9v/3cf9p8mx0n1gzcsq3mw9799m0000gn/T/tmp5678ru/test.py' produced error: 'No entry for terminal type "xterm-256color";\nusing dumb terminal settings.\n/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning: \n******************************************************************************\nlibedit detected - readline will not be well behaved, including but not limited to:\n * crashes on tab completion\n * incorrect history navigation\n * corrupting long-lines\n * failure to wrap or indent lines properly\nIt is highly recommended that you install readline, which is easy_installable:\n easy_install readline\nNote that `pip install readline` generally DOES NOT WORK, because\nit installs to site-packages, which come *after* lib-dynload in sys.path,\nwhere readline is located. It must be `easy_install readline`, or to a custom\nlocation on your PYTHONPATH (even --user comes after lib-dyload).\n******************************************************************************\n RuntimeWarning)\n'
======================================================================
ERROR: IPython.core.tests.test_run.TestMagicRunSimple.test_obj_del
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/tests/test_run.py", line 189, in test_obj_del
tt.ipexec_validate(self.fname, 'object A deleted', err)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/tools.py", line 262, in ipexec_validate
(fname, err))
ValueError: Running file '/var/folders/9v/3cf9p8mx0n1gzcsq3mw9799m0000gn/T/tmpf3w42g.py' produced error: 'No entry for terminal type "xterm-256color";\nusing dumb terminal settings.\n/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning: \n******************************************************************************\nlibedit detected - readline will not be well behaved, including but not limited to:\n * crashes on tab completion\n * incorrect history navigation\n * corrupting long-lines\n * failure to wrap or indent lines properly\nIt is highly recommended that you install readline, which is easy_installable:\n easy_install readline\nNote that `pip install readline` generally DOES NOT WORK, because\nit installs to site-packages, which come *after* lib-dynload in sys.path,\nwhere readline is located. It must be `easy_install readline`, or to a custom\nlocation on your PYTHONPATH (even --user comes after lib-dyload).\n******************************************************************************\n RuntimeWarning)\n'
======================================================================
ERROR: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/tests/test_run.py", line 231, in test_tclass
tt.ipexec_validate(self.fname, out, err)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/tools.py", line 262, in ipexec_validate
(fname, err))
ValueError: Running file '/var/folders/9v/3cf9p8mx0n1gzcsq3mw9799m0000gn/T/tmph5jn25.ipy' produced error: 'No entry for terminal type "xterm-256color";\nusing dumb terminal settings.\n/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning: \n******************************************************************************\nlibedit detected - readline will not be well behaved, including but not limited to:\n * crashes on tab completion\n * incorrect history navigation\n * corrupting long-lines\n * failure to wrap or indent lines properly\nIt is highly recommended that you install readline, which is easy_installable:\n easy_install readline\nNote that `pip install readline` generally DOES NOT WORK, because\nit installs to site-packages, which come *after* lib-dynload in sys.path,\nwhere readline is located. It must be `easy_install readline`, or to a custom\nlocation on your PYTHONPATH (even --user comes after lib-dyload).\n******************************************************************************\n RuntimeWarning)\n'
----------------------------------------------------------------------
Ran 329 tests in 18.042s
FAILED (KNOWNFAIL=1, SKIP=2, errors=4)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
../Users/deil/.cython/inline/_cython_inline_2921e82ace2fa0ca1ff1abb053de6582.c:509:14: warning: explicitly assigning a variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
/Users/deil/.pyxbld/temp.macosx-10.7-x86_64-3.2/pyrex/_test_cython_pyximport.c:496:14: warning: explicitly assigning a variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
E./Users/deil/.ipython/cython/_cython_magic_0ee7b8c2d7bd190e7dd457fb23340716.c:496:14: warning: explicitly assigning a variable of type 'PyObject *' (aka 'struct _object *') to itself [-Wself-assign]
__pyx_self = __pyx_self;
~~~~~~~~~~ ^ ~~~~~~~~~~
1 warning generated.
EE
======================================================================
ERROR: IPython.extensions.tests.test_cythonmagic.test_cython_inline
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/extensions/tests/test_cythonmagic.py", line 28, in test_cython_inline
result = ip.run_cell_magic('cython_inline','','return a+b')
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/interactiveshell.py", line 2110, in run_cell_magic
result = fn(line, cell)
File "<string>", line 2, in cython_inline
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/magic.py", line 191, in <lambda>
call = lambda f, *a, **k: f(*a, **k)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/extensions/cythonmagic.py", line 72, in cython_inline
return Cython.inline(cell, locals=locs, globals=globs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/Cython/Shadow.py", line 38, in inline
return cython_inline(f, *args, **kwds)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/Cython/Build/Inline.py", line 188, in cython_inline
module = imp.load_dynamic(module_name, module_path)
ImportError: ImportError: dlopen(/Users/deil/.cython/inline/_cython_inline_2921e82ace2fa0ca1ff1abb053de6582.cpython-32m.so, 2): image not found
-------------------- >> begin captured stdout << ---------------------
Compiling /Users/deil/.cython/inline/_cython_inline_2921e82ace2fa0ca1ff1abb053de6582.pyx because it changed.
Cythonizing /Users/deil/.cython/inline/_cython_inline_2921e82ace2fa0ca1ff1abb053de6582.pyx
--------------------- >> end captured stdout << ----------------------
======================================================================
ERROR: IPython.extensions.tests.test_cythonmagic.test_cython
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/extensions/tests/test_cythonmagic.py", line 44, in test_cython
ip.run_cell_magic('cython', '', code)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/interactiveshell.py", line 2110, in run_cell_magic
result = fn(line, cell)
File "<string>", line 2, in cython
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/magic.py", line 191, in <lambda>
call = lambda f, *a, **k: f(*a, **k)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/extensions/cythonmagic.py", line 189, in cython
module = imp.load_dynamic(module_name, module_path)
ImportError: dlopen(/Users/deil/.ipython/cython/_cython_magic_0ee7b8c2d7bd190e7dd457fb23340716.cpython-32m.so, 2): image not found
======================================================================
ERROR: IPython.extensions.tests.test_cythonmagic.test_extlibs
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/site-packages/nose/case.py", line 198, in runTest
self.test(*self.arg)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/extensions/tests/test_cythonmagic.py", line 56, in test_extlibs
ip.run_cell_magic('cython', '-l m', code)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/interactiveshell.py", line 2110, in run_cell_magic
result = fn(line, cell)
File "<string>", line 2, in cython
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/core/magic.py", line 191, in <lambda>
call = lambda f, *a, **k: f(*a, **k)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/extensions/cythonmagic.py", line 189, in cython
module = imp.load_dynamic(module_name, module_path)
ImportError: dlopen(/Users/deil/.ipython/cython/_cython_magic_af6c6649e63b1cd1d1974ce234f490b3.cpython-32m.so, 2): image not found
----------------------------------------------------------------------
Ran 6 tests in 4.902s
FAILED (errors=3)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
....FF..
======================================================================
FAIL: Test that multiline history skips empty line cells
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/frontend/terminal/tests/test_interactivshell.py", line 168, in test_replace_multiline_hist_replaces_empty_line
self.assertEquals(hist, expected)
AssertionError: Lists differ: ['line0', None, None, 'l\u20acne1\n... != ['line0', 'l\u20acne1\nline2', 'l\u20acn...
First differing element 1:
None
l\u20acne1
line2
- ['line0', None, None, 'l\u20acne1\nline2']
+ ['line0', 'l\u20acne1\nline2', 'l\u20acne3', 'line4']
"""Fail immediately, with the given message."""
>> raise self.failureException("Lists differ: ['line0', None, None, 'l\u20acne1\\n... != ['line0', 'l\u20acne1\\nline2', 'l\u20acn...\n\nFirst differing element 1:\nNone\nl\u20acne1\nline2\n\n- ['line0', None, None, 'l\u20acne1\\nline2']\n+ ['line0', 'l\u20acne1\\nline2', 'l\u20acne3', 'line4']")
======================================================================
FAIL: Test that multiline entries are replaced twice
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/decorators.py", line 229, in skipper_func
return f(*args, **kwargs)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/frontend/terminal/tests/test_interactivshell.py", line 131, in test_replace_multiline_hist_replaces_twice
self.assertEquals(hist, expected)
AssertionError: Lists differ: [None, None, 'l\u20acne3'] != ['line0', 'l\u20acne1\nline2', 'l\u20acn...
First differing element 0:
None
line0
- [None, None, 'l\u20acne3']
+ ['line0', 'l\u20acne1\nline2', 'l\u20acne3\nline4']
"""Fail immediately, with the given message."""
>> raise self.failureException("Lists differ: [None, None, 'l\u20acne3'] != ['line0', 'l\u20acne1\\nline2', 'l\u20acn...\n\nFirst differing element 0:\nNone\nline0\n\n- [None, None, 'l\u20acne3']\n+ ['line0', 'l\u20acne1\\nline2', 'l\u20acne3\\nline4']")
----------------------------------------------------------------------
Ran 8 tests in 0.164s
FAILED (failures=2)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
........S.....F.SS......
======================================================================
FAIL: Test the IPython runner.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/lib/tests/test_irunner.py", line 135, in testIPython
self._test_runner(runner,source,output)
File "/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/lib/tests/test_irunner.py", line 45, in _test_runner
self.fail(message)
AssertionError: Mismatch in number of lines
Expected:
~~~~~~~~~
In [1]: print('hello, this is python')
hello, this is python
# some more code
In [2]: x=1;y=2
In [3]: x+y**2
Out[3]: 5
# An example of autocall functionality
In [4]: from math import *
In [5]: autocall 1
Automatic calling is: Smart
In [6]: cos pi
------> cos(pi)
Out[6]: -1.0
In [7]: autocall 0
Automatic calling is: OFF
In [8]: cos pi
File "<ipython-input-8-6bd7313dd9a9>", line 1
cos pi
^
SyntaxError: invalid syntax
In [9]: cos(pi)
Out[9]: -1.0
In [10]: for i in range(5):
....: print(i)
....:
0
1
2
3
4
In [11]: print("that's all folks!")
that's all folks!
In [12]: exit
Got:
~~~~~~~~~
In [1]: print('hello, this is python')
hello, this is python
# some more code
In [2]: x=1;y=2
"""Fail immediately, with the given message."""
>> raise self.failureException('Mismatch in number of lines\n\nExpected:\n~~~~~~~~~\nIn [1]: print(\'hello, this is python\')\nhello, this is python\n# some more code\nIn [2]: x=1;y=2\nIn [3]: x+y**2\nOut[3]: 5\n# An example of autocall functionality\nIn [4]: from math import *\nIn [5]: autocall 1\nAutomatic calling is: Smart\nIn [6]: cos pi\n------> cos(pi)\nOut[6]: -1.0\nIn [7]: autocall 0\nAutomatic calling is: OFF\nIn [8]: cos pi\n File "<ipython-input-8-6bd7313dd9a9>", line 1\n cos pi\n ^\nSyntaxError: invalid syntax\nIn [9]: cos(pi)\nOut[9]: -1.0\nIn [10]: for i in range(5):\n ....: print(i)\n ....:\n0\n1\n2\n3\n4\nIn [11]: print("that\'s all folks!")\nthat\'s all folks!\nIn [12]: exit\n\nGot:\n~~~~~~~~~\nIn [1]: print(\'hello, this is python\')\nhello, this is python\n# some more code\nIn [2]: x=1;y=2')
----------------------------------------------------------------------
Ran 24 tests in 4.274s
FAILED (SKIP=3, failures=1)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
----------------------------------------------------------------------
Ran 0 tests in 0.000s
OK
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
.........................S....S....................S
----------------------------------------------------------------------
Ran 52 tests in 0.145s
OK (SKIP=3)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
.....................................................................SS...S..............S............S..S................................................S.........S..................................................
----------------------------------------------------------------------
Ran 215 tests in 2.242s
OK (SKIP=8)
No entry for terminal type "xterm-256color";
using dumb terminal settings.
/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/utils/rlineimpl.py:111: RuntimeWarning:
******************************************************************************
libedit detected - readline will not be well behaved, including but not limited to:
* crashes on tab completion
* incorrect history navigation
* corrupting long-lines
* failure to wrap or indent lines properly
It is highly recommended that you install readline, which is easy_installable:
easy_install readline
Note that `pip install readline` generally DOES NOT WORK, because
it installs to site-packages, which come *after* lib-dynload in sys.path,
where readline is located. It must be `easy_install readline`, or to a custom
location on your PYTHONPATH (even --user comes after lib-dyload).
******************************************************************************
RuntimeWarning)
......................................................
----------------------------------------------------------------------
Ran 54 tests in 0.066s
OK
**********************************************************************
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.scripts
**********************************************************************
IPython test group: IPython.testing
**********************************************************************
IPython test group: IPython.utils
**********************************************************************
IPython test group: IPython.nbformat
**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '98e1d52',
'commit_source': 'installation',
'default_encoding': 'US-ASCII',
'ipython_path': '/Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython',
'ipython_version': '0.13.beta1',
'os_name': 'posix',
'platform': 'Darwin-11.4.0-x86_64-i386-64bit',
'sys_executable': '/Users/deil/.ipy_pr_tests/venv-python3.2/bin/python',
'sys_platform': 'darwin',
'sys_version': '3.2.3 (default, Apr 19 2012, 09:35:29) \n[GCC 4.2.1 Compatible Apple Clang 3.1 (tags/Apple/clang-318.0.45)]'}
Tools and libraries available at test time:
curses cython pexpect sqlite3
Tools and libraries NOT available at test time:
matplotlib numpy oct2py pygments pymongo qt rpy2 tornado wx wx.aui zmq
Ran 9 test groups in 46.259s
Status:
ERROR - 4 out of 9 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
/Users/deil/.ipy_pr_tests/venv-python3.2/bin/python /Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/iptest.py IPython.core
----------------------------------------
Runner failed: IPython.extensions
You may wish to rerun this one individually, with:
/Users/deil/.ipy_pr_tests/venv-python3.2/bin/python /Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/iptest.py IPython.extensions
----------------------------------------
Runner failed: IPython.frontend
You may wish to rerun this one individually, with:
/Users/deil/.ipy_pr_tests/venv-python3.2/bin/python /Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/iptest.py IPython.frontend
----------------------------------------
Runner failed: IPython.lib
You may wish to rerun this one individually, with:
/Users/deil/.ipy_pr_tests/venv-python3.2/bin/python /Users/deil/.ipy_pr_tests/venv-python3.2/lib/python3.2/site-packages/ipython-0.13.beta1-py3.2.egg/IPython/testing/iptest.py IPython.lib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment