--- you can reply above this line ---

New issue 96: AssertionError when cancelling a test
http://bitbucket.org/hpk42/py-trunk/issue/96/assertionerror-when-cancelling-a-test

amauryfa on Sun, 16 May 2010 23:30:30 +0200:

Description:
  I got this traceback when pressing Ctrl-C.  This happens from time to time, 
and there is not line "!!! KEYBOARD INTERRUPT !!!"

{{{
module\cpyext\test\test_typeobject.py ..........
module\cpyext\test\test_unicodeobject.py Traceback (most recent call last):
  File "C:\dev\pypy\trunk\pypy\test_all.py", line 6, in ?
    py.cmdline.pytest()
  File "C:\dev\pypy\trunk\py\_test\cmdline.py", line 17, in main
    exitstatus = session.main(colitems)
  File "C:\dev\pypy\trunk\py\_test\session.py", line 113, in main
    self.config.hook.pytest_keyboard_interrupt(excinfo=excinfo)
  File "C:\dev\pypy\trunk\py\_test\pluginmanager.py", line 347, in __call__
    return self.hookrelay._performcall(self.name, mc)
  File "C:\dev\pypy\trunk\py\_test\pluginmanager.py", line 333, in _performcall
    return multicall.execute()
  File "C:\dev\pypy\trunk\py\_test\pluginmanager.py", line 244, in execute
    res = method(**kwargs)
  File "C:\dev\pypy\trunk\py\_plugin\pytest_capture.py", line 232, in 
pytest_keyboard_interrupt
    self.suspendcapture()
  File "C:\dev\pypy\trunk\py\_plugin\pytest_capture.py", line 170, in 
suspendcapture
    outerr = cap.suspend()
  File "C:\dev\pypy\trunk\py\_io\capture.py", line 166, in suspend
    assert not hasattr(self, '_suspended')
py._code.assertion.AssertionError: assert not 
hasattr(<py._io.capture.StdCaptureFD object at 0x01AC9250>, '_suspended')
}}}

Responsible:
  hpk42
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to