Skip to content

test_typing fails refleak tests #104415

Closed
Closed
@sobolevn

Description

@sobolevn

Repro: ./python.exe -m test -R 3:3 -v test_typing

The first test round passes, but the second one fails with:

======================================================================
FAIL: test_bytestring (test.test_typing.CollectionsAbcTests.test_bytestring)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/sobolev/Desktop/cpython/Lib/test/test_typing.py", line 6007, in test_bytestring
    with self.assertWarns(DeprecationWarning):
AssertionError: DeprecationWarning not triggered

----------------------------------------------------------------------
Ran 576 tests in 1.479s

FAILED (failures=1, skipped=1)
test test_typing failed
test_typing failed (1 failure)

I am working on a fix.

Linked PRs

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions