the 0.12 testsuite fails when HOME is set to / and when run with root rights (yes I know very unusual settings ;) )
======================================================================
FAIL: test_get_ipython_dir_7, test home directory expansion on IPYTHON_DIR
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/ipython-0.12/IPython/utils/tests/test_path.py", line 285, in test_get_ipython_dir_7
nt.assert_equal(ipdir, os.path.join(home_dir, 'somewhere'))
AssertionError: u'//somewhere' != '/somewhere'
"u'//somewhere' != '/somewhere'" = '%s != %s' % (safe_repr(u'//somewhere'), safe_repr('/somewhere'))
"u'//somewhere' != '/somewhere'" = self._formatMessage("u'//somewhere' != '/somewhere'", "u'//somewhere' != '/somewhere'")
>> raise self.failureException("u'//somewhere' != '/somewhere'")
======================================================================
FAIL: IPython.utils.tests.test_path.test_not_writable_ipdir
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/ipython-0.12/IPython/testing/decorators.py", line 228, in skipper_func
return f(*args, **kwargs)
File "/ipython-0.12/IPython/utils/tests/test_path.py", line 370, in test_not_writable_ipdir
ipdir = path.get_ipython_dir()
File "/ipython-0.12/IPython/testing/tools.py", line 369, in __exit__
assert self.s in printed, notprinted_msg.format(self.s, self.channel, printed)
AssertionError: Did not find 'is not a writable location' in printed output (on stderr):
u''
<IPython.testing.tools.AssertPrints object at 0x39bea90>.tee.flush()
setattr(<module 'sys' (built-in)>, <IPython.testing.tools.AssertPrints object at 0x39bea90>.channel, <IPython.testing.tools.AssertPrints object at 0x39bea90>.orig_stream)
u'' = <IPython.testing.tools.AssertPrints object at 0x39bea90>.buffer.getvalue()
>> assert <IPython.testing.tools.AssertPrints object at 0x39bea90>.s in u'', 'Did not find {0!r} in printed output (on {1}):\n{2!r}'.format(<IPython.testing.tools.AssertPrints object at 0x39bea90>.s, <IPython.testing.tools.AssertPrints object at 0x39bea90>.channel, u'')
return False
IPython.core
======================================================================
FAIL: Test various directory handling operations.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 187, in runTest
self.test(*self.arg)
File "/ipython-0.12/IPython/core/tests/test_magic.py", line 250, in test_dirops
nt.assert_equal(curpath(), startdir)
AssertionError: u'/.config/ipython' != u'/ipython-0.12'
- /.config/ipython
+ /ipython-0.12
"""Fail immediately, with the given message."""
>> raise self.failureException(u"u'/.config/ipython' != u'/ipython-0.12'\n- /.config/ipython\n+ /ipython-0.12\n")
-------------------- >> begin captured stdout << ---------------------
/.config/ipython
/ipython-0.12
/.config/ipython
[Errno 2] No such file or directory: '~ipython-0.12'
/.config/ipython
popd -> ~ipython-0.12
--------------------- >> end captured stdout << ----------------------
----------------------------------------------------------------------
Ran 369 tests in 1.766s
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4