This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_capi fails --without-threads
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.2
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: skrah
Priority: normal Keywords: buildbot, patch

Created on 2010-06-07 14:18 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue8932.patch skrah, 2010-06-09 08:12
Messages (2)
msg107267 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2010-06-07 14:18
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'
msg107375 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2010-06-09 09:09
Committed in r81857. Blocked for release31-maint (requires additional fixes).
History
Date User Action Args
2022-04-11 14:57:01adminsetgithub: 53178
2010-06-09 09:10:00skrahsetstatus: open -> closed
resolution: accepted
messages: + msg107375

stage: needs patch -> resolved
2010-06-09 08:12:08skrahsetfiles: + issue8932.patch
keywords: + patch
2010-06-07 14:18:30skrahcreate