Skip to content

test_typing fails refleak tests #104415

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

Activity

  1. self-assigned this
    on May 12, 2023
  2. added a commit that references this issue on May 12, 2023
  3. added a commit that references this issue on May 12, 2023
  4. added a commit that references this issue on May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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