Skip to content

Commit 66e3ecc

Browse files
committed
gh-108303: Move .whl test files to Lib/test/whldata/
1 parent 1e610fb commit 66e3ecc

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Lib/test/support/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2193,7 +2193,9 @@ def _findwheel(pkgname):
21932193
If set, the wheels are searched for in WHEEL_PKG_DIR (see ensurepip).
21942194
Otherwise, they are searched for in the test directory.
21952195
"""
2196-
wheel_dir = sysconfig.get_config_var('WHEEL_PKG_DIR') or TEST_HOME_DIR
2196+
wheel_dir = sysconfig.get_config_var('WHEEL_PKG_DIR') or os.path.join(
2197+
TEST_HOME_DIR, 'whldata',
2198+
)
21972199
filenames = os.listdir(wheel_dir)
21982200
filenames = sorted(filenames, reverse=True) # approximate "newest" first
21992201
for filename in filenames:

0 commit comments

Comments
 (0)