You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that there is an incompatibility with the built-in plugin failure-detail.
Here is the trace I get:
$ nosetests --with-process-isolation --failure-detail
E
======================================================================
ERROR: test.test
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 133, in run
self.runTest(result)
File "/usr/lib/python2.7/dist-packages/nose/case.py", line 151, in runTest
test(result)
File "/usr/local/lib/python2.7/dist-packages/nosepipe.py", line 188, in __call__
getattr(result, method_name)(self._test, exc_info)
File "/usr/lib/python2.7/dist-packages/nose/proxy.py", line 143, in addFailure
formatted = plugins.formatFailure(self.test, err)
File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line 99, in __call__
return self.call(*arg, **kw)
File "/usr/lib/python2.7/dist-packages/nose/plugins/manager.py", line 141, in chain
result = meth(*arg, **kw)
File "/usr/lib/python2.7/dist-packages/nose/plugins/failuredetail.py", line 45, in formatFailure
tbinfo = force_unicode(inspect_traceback(tb))
File "/usr/lib/python2.7/dist-packages/nose/inspector.py", line 30, in inspect_traceback
lines, exc_line = tbsource(tb)
File "/usr/lib/python2.7/dist-packages/nose/inspector.py", line 87, in tbsource
lines, dummy = inspect.findsource(frame)
File "/usr/lib/python2.7/inspect.py", line 526, in findsource
file = getfile(object)
File "/usr/lib/python2.7/inspect.py", line 420, in getfile
'function, traceback, frame, or code object'.format(object))
TypeError: <nosepipe.Frame object at 0x7f4eb6ea9210> is not a module, class, method, function, traceback, frame, or code object
----------------------------------------------------------------------
Ran 1 test in 0.127s
FAILED (errors=1)
The problem is due to the use of fake Frame object. I don't understand why you use such fake traceback objects since they seem to be simple proxy to their standard lib equivalent.
The text was updated successfully, but these errors were encountered:
Hello there, thanks for sharing your plugin!
It seems that there is an incompatibility with the built-in plugin failure-detail.
Here is the trace I get:
The problem is due to the use of fake Frame object. I don't understand why you use such fake traceback objects since they seem to be simple proxy to their standard lib equivalent.
The text was updated successfully, but these errors were encountered: