A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1998/ below:

call to nt.assert_true(path._writable_dir(home)) returns false in test_path.py · Issue #1998 · ipython/ipython · GitHub

test_nocase_showall (IPython.utils.tests.test_wildcard.Tests) ... ok

======================================================================
ERROR: get_home_dir() still works if $HOME is not set
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/utils/tests/test_path.py", line 162, in test_get_home_dir_4
    home = path.get_home_dir(True)
  File "/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/utils/path.py", line 222, in get_home_dir
    'set $HOME environment variable to override' % homedir)
HomeDirError: /var/tmp/portage is not a writable dir, set $HOME environment variable to override

Run as root, it claims /var/tmp/portage is not writable.  wrong.
It appears there is much uncertainty in the correct outcome of this tests.

    if 'HOME' in env: del env['HOME']
    # this should still succeed, but we don't know what the answer should be

and

Doctest: IPython.parallel.client.view.DirectView ... ok
Doctest: IPython.parallel.controller.dependency.require ... ok
ERROR

======================================================================
ERROR: test suite for <module 'IPython.parallel.tests' from '/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/parallel/tests/__init__.py'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/nose/suite.py", line 208, in run
    self.setUp()
  File "/usr/lib64/python2.7/site-packages/nose/suite.py", line 291, in setUp
    self.setupContext(ancestor)
  File "/usr/lib64/python2.7/site-packages/nose/suite.py", line 314, in setupContext
    try_run(context, names)
  File "/usr/lib64/python2.7/site-packages/nose/util.py", line 478, in try_run
    return func()
  File "/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/parallel/tests/__init__.py", line 69, in setup
    add_engines(1)
  File "/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/parallel/tests/__init__.py", line 88, in add_engines
    rc.spin()
  File "/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/parallel/client/client.py", line 802, in spin
    self._flush_iopub(self._iopub_socket)
  File "/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython/parallel/client/client.py", line 728, in _flush_iopub
    msg_id = parent['msg_id']
KeyError: 'msg_id'

----------------------------------------------------------------------
Ran 5 tests in 1.749s

FAILED (errors=1)

**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '<not found>',
 'commit_source': '(none found)',
 'ipython_path': '/mnt/gen2/TmpDir/portage/dev-python/ipython-0.12-r1/temp/tests-2.7/usr/lib64/python2.7/site-packages/IPython',
 'ipython_version': '0.12',
 'os_name': 'posix',
 'platform': 'Linux-3.2.1-gentoo-r2-amd64-x86_64-AMD_Athlon-tm-_II_X4_645_Processor-with-gentoo-2.1',
 'sys_executable': '/usr/bin/python2.7',
 'sys_platform': 'linux2',
 'sys_version': '2.7.3 (default, Jun 18 2012, 20:52:42) \n[GCC 4.5.3]'}

Tools and libraries available at test time:
   curses matplotlib pexpect pymongo qt sqlite3 tornado wx wx.aui zmq

Ran 10 test groups in 34.731s

Status:
ERROR - 2 out of 10 test groups failed.
----------------------------------------
Runner failed: IPython.utils

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