A RetroSearch Logo

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

Search Query:

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

Failure in new `dreload` tests under Python 3.2 · Issue #1626 · ipython/ipython · GitHub

In #1457, @bfroehle introduced a revamped dreload with proper tests, but apparently those don't work correctly under python 3.2. See the console log for the details, the exception itself is:

======================================================================
ERROR: Test that dreload does deep reloads and skips excluded modules.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/nose/case.py", line 134, in run
    self.runTest(result)
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/nose/case.py", line 152, in runTest
    test(result)
  File "/sp/lib/python/cpython-3.2/lib/python3.2/unittest/case.py", line 477, in __call__
    return self.run(*args, **kwds)
  File "/sp/lib/python/cpython-3.2/lib/python3.2/unittest/case.py", line 435, in run
    result.addError(self, exc_info)
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/nose/proxy.py", line 134, in addError
    plugins.addError(self.test, err)
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/nose/plugins/manager.py", line 94, in __call__
    return self.call(*arg, **kw)
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/nose/plugins/manager.py", line 162, in simple
    result = meth(*arg, **kw)
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/ipython-0.13.dev-py3.2.egg/IPython/testing/iptest.py", line 96, in addError
    return self.orig_addError(test, err, capt)
  File "/home/slave/jenkins/shiningpanda/jobs/d99552f2/virtualenvs/ff035a1d/lib/python3.2/site-packages/nose/plugins/xunit.py", line 201, in addError
    tb = ''.join(traceback.format_exception(*err))
  File "/sp/lib/python/cpython-3.2/lib/python3.2/traceback.py", line 180, in format_exception
    for value, tb in values:
  File "/sp/lib/python/cpython-3.2/lib/python3.2/traceback.py", line 122, in _iter_chain
    cause = exc.__cause__
AttributeError: 'str' object has no attribute '__cause__'

I don't really understand this one, b/c the error that is being printed comes from core python code, not the new code in the PR, so I'm puzzled. But obviously since this comes from new code, we should try to fix it sooner rather than later to get our buildbots back in the green. @takluyver, any ideas from your py3 knowledge here?


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