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 (most recent call last):
  File "/usr/lib/python3.12/test/test_tools/test_makefile.py", line 75, in test_makefile_test_folders
    self.assertSetEqual(unique_test_dirs, set(used))
AssertionError: Items in the second set but not the first: 'test/wheeldata'

----------------------------------------------------------------------
Ran 1 test in 0.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

Activity

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

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