[issue8932] test_capi fails --without-threads

Stefan Krah report at bugs.python.org
Mon Jun 7 16:18:31 CEST 2010


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

test_capi fails when compiled --without-threads:

test test_capi failed -- Traceback (most recent call last):
  File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_capi.py", line 49, in test_no_FatalError_infinite_loop
    b'Fatal Python error:'
AssertionError: b'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\nSystemError: error return without exception set\n[34135 refs]' != b'Fatal Python error: PyThreadState_Get: no current thread'

Re-running test test_capi in verbose mode
test_instancemethod (test.test_capi.CAPITest) ... ok
test_no_FatalError_infinite_loop (test.test_capi.CAPITest) ... FAIL

======================================================================
FAIL: test_no_FatalError_infinite_loop (test.test_capi.CAPITest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_capi.py", line 49, in test_no_FatalError_infinite_loop
    b'Fatal Python error:'
AssertionError: b'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\nSystemError: error return without exception set\n[34135 refs]' != b'Fatal Python error: PyThreadState_Get: no current thread'

----------------------------------------------------------------------
Ran 2 tests in 0.635s

FAILED (failures=1)
test test_capi failed -- Traceback (most recent call last):
  File "/usr/home/db3l/buildarea/3.x.bolen-freebsd7/build/Lib/test/test_capi.py", line 49, in test_no_FatalError_infinite_loop
    b'Fatal Python error:'
AssertionError: b'Traceback (most recent call last):\n  File "<string>", line 1, in <module>\nSystemError: error return without exception set\n[34135 refs]' != b'Fatal Python error: PyThreadState_Get: no current thread'

----------
components: Tests
keywords: buildbot
messages: 107267
nosy: skrah
priority: normal
severity: normal
stage: needs patch
status: open
title: test_capi fails --without-threads
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8932>
_______________________________________


More information about the Python-bugs-list mailing list