Skip to content

Test tegression from gh-117711: Assuming wheels are deleted from source when WHEEL_PKG_DIR is set #120418

Description

@stefanor

Bug report

Bug description:

test_makefile_test_folders (test.test_tools.test_makefile.TestMakefile.test_makefile_test_folders) ... FAIL======================================================================FAIL: test_makefile_test_folders (test.test_tools.test_makefile.TestMakefile.test_makefile_test_folders)
----------------------------------------------------------------------Traceback (mostrecentcalllast):
File"/usr/lib/python3.12/test/test_tools/test_makefile.py", line75, intest_makefile_test_foldersself.assertSetEqual(unique_test_dirs, set(used))
AssertionError: Itemsinthesecondsetbutnotthefirst: 'test/wheeldata'----------------------------------------------------------------------Ran1testin0.009s

This is a regression caused by the change in #117712, which assumed that whenever WHEEL_PKG_DIR is set, the .whl files in the testdata will be deleted.

CPython versions tested on:

3.12

Operating systems tested on:

Linux

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