Skip to content

test_ctypes are leaked #104456

Closed
Closed
@Eclips4

Description

@Eclips4

Tried on last commit.

 PS C:\Users\KIRILL-1\CLionProjects\cpython> ./python -m test -R 3:3 test_ctypes    
Running Debug|x64 interpreter...
0:00:00 Run tests sequentially
0:00:00 [1/1] test_ctypes
beginning 6 repetitions
123456
a=5, b=10, c=15
a=5, b=10, c=15
.a=5, b=10, c=15
a=5, b=10, c=15
.a=5, b=10, c=15
a=5, b=10, c=15
.a=5, b=10, c=15
a=5, b=10, c=15
.a=5, b=10, c=15
a=5, b=10, c=15
.a=5, b=10, c=15
a=5, b=10, c=15
.
test_ctypes leaked [5, 5, 5] references, sum=15
test_ctypes leaked [3, 3, 4] memory blocks, sum=10
test_ctypes failed (reference leak)

== Tests result: FAILURE ==

1 test failed:
    test_ctypes

Total duration: 17.1 sec
Tests result: FAILURE

OS: Windows 10
However, I cannot reproduce it in Linux (WSL Ubuntu)

UPD:
It is test_ctypes/test_win32.py/test_COMError

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions