Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_capi fails --without-threads #53178

Closed
skrah mannequin opened this issue Jun 7, 2010 · 2 comments
Closed

test_capi fails --without-threads #53178

skrah mannequin opened this issue Jun 7, 2010 · 2 comments
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@skrah
Copy link
Mannequin

skrah mannequin commented Jun 7, 2010

BPO 8932
Nosy @skrah
Files
  • issue8932.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2010-06-09.09:10:00.174>
    created_at = <Date 2010-06-07.14:18:29.996>
    labels = ['type-bug', 'tests']
    title = 'test_capi fails --without-threads'
    updated_at = <Date 2010-06-09.09:10:00.172>
    user = 'https://github.com/skrah'

    bugs.python.org fields:

    activity = <Date 2010-06-09.09:10:00.172>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-06-09.09:10:00.174>
    closer = 'skrah'
    components = ['Tests']
    creation = <Date 2010-06-07.14:18:29.996>
    creator = 'skrah'
    dependencies = []
    files = ['17594']
    hgrepos = []
    issue_num = 8932
    keywords = ['patch', 'buildbot']
    message_count = 2.0
    messages = ['107267', '107375']
    nosy_count = 1.0
    nosy_names = ['skrah']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue8932'
    versions = ['Python 3.2']

    @skrah
    Copy link
    Mannequin Author

    skrah mannequin commented Jun 7, 2010

    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'

    @skrah skrah mannequin added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Jun 7, 2010
    @skrah
    Copy link
    Mannequin Author

    skrah mannequin commented Jun 9, 2010

    Committed in r81857. Blocked for release31-maint (requires additional fixes).

    @skrah skrah mannequin closed this as completed Jun 9, 2010
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants