Skip to content

Commit 7b152d2

Browse files
committed
gh-120418: Don't assume wheeldata is deleted if WHEEL_PKG_DIR is set
Remove wheeldata from both sides of the `assertEqual`, so that we're *actually* ignoring it from the test set. This test is only making assertions about the source tree, no code is being executed that would do anything different based on the value of `WHEEL_PKG_DIR`.
1 parent fabcf6b commit 7b152d2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_tools/test_makefile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def test_makefile_test_folders(self):
7070
# Don't check the wheel dir when Python is built --with-wheel-pkg-dir
7171
if sysconfig.get_config_var('WHEEL_PKG_DIR'):
7272
test_dirs.remove('test/wheeldata')
73+
used.remove('test/wheeldata')
7374

7475
# Check that there are no extra entries:
7576
unique_test_dirs = set(test_dirs)

0 commit comments

Comments
 (0)