GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `test_typing` fails refleak tests · Issue #104415 · python/cpython

test_typing fails refleak tests #104415

New issue
Copy link
New issue
Copy link
Closed
Closed
test_typing fails refleak tests#104415
Copy link
Assignees
sobolevn
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtopic-typingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@sobolevn
sobolevn
opened on May 12, 2023
Issue body actions

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

  • gh-104415: Fix refleak tests for typing.ByteString deprecation #104416

Activity

  1. sobolevn
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    testsTests in the Lib/test dirTests in the Lib/test dir
    topic-typing
    on May 12, 2023
  2. sobolevn
    self-assigned this
    on May 12, 2023
  3. sobolevn
    added a commit that references this issue on May 12, 2023

    pythongh-104415: Fix refleak tests for `typing.ByteString` deprecation

    e8f6c3d
  4. JelleZijlstra
    added a commit that references this issue on May 12, 2023

    gh-104415: Fix refleak tests for `typing.ByteString` deprecation (#10…

    5b8cd5a
  5. AlexWaygood
    closed this as completedon May 12, 2023
  6. carljm
    added a commit that references this issue on May 12, 2023

    Merge branch 'main' into supermon

    8efd7c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @sobolevn
    sobolevn

Labels

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.