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_tkinter` fails on refleak run due to `support` confusion · Issue #105077 · python/cpython

test_tkinter fails on refleak run due to support confusion #105077

New issue
Copy link
New issue
Copy link
Closed
Closed
test_tkinter fails on refleak run due to support confusion#105077
Copy link
Assignees
zware
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@zware
zware
opened on May 30, 2023
Issue body actions

Bug report

When running the refleak test runner (-R), test_tkinter fails on the second run due to AttributeError: module 'test.test_tkinter.support' has no attribute 'load_package_tests'. This is because test_tkinter has its own support module, which when imported overwrites the support attribute set in Lib/test/test_tkinter/__init__.py. That module should instead import specific symbols from test.support and use them directly.

Your environment

  • CPython versions tested on: main, 3.12
  • Operating system and architecture: Windows, Linux, any other

Linked PRs

  • gh-105077: Fix test_tkinter refleak checking #105078
  • [3.12] gh-105077: Fix test_tkinter refleak checking (GH-105078) #105079

Activity

  1. zware
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on May 30, 2023
  2. zware
    self-assigned this
    on May 30, 2023
  3. zware
    added 2 commits that reference this issue on May 30, 2023

    pythongh-105077: Fix test_tkinter refleak checking

    b807168

    gh-105077: Fix test_tkinter refleak checking (GH-105078)

    5454db4
  4. miss-islington
    added a commit that references this issue on May 30, 2023

    pythongh-105077: Fix test_tkinter refleak checking (pythonGH-105078)

    55edff7
  5. zware
    added a commit that references this issue on May 30, 2023

    [3.12] gh-105077: Fix test_tkinter refleak checking (GH-105078) (GH-1…

    7f04a15
  6. erlend-aasland commented on May 30, 2023

    @erlend-aasland
    erlend-aasland
    on May 30, 2023
    Contributor
    More actions

    Resolved by:

    • gh-105077: Fix test_tkinter refleak checking #105078
    • [3.12] gh-105077: Fix test_tkinter refleak checking (GH-105078) #105079
    Reacted by Zachary Ware
  7. erlend-aasland
    closed this as completedon May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @zware
    zware

Labels

type-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.