New submission from Stefan Krah <stefan-use...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8932>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to