Skip to content

Commit ba253a4

Browse files
authored
gh-108303: Move .whl test files to Lib/test/wheeldata/ (#114343)
1 parent 01105c7 commit ba253a4

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-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, 'wheeldata',
2198+
)
21972199
filenames = os.listdir(wheel_dir)
21982200
filenames = sorted(filenames, reverse=True) # approximate "newest" first
21992201
for filename in filenames:

Makefile.pre.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2318,6 +2318,7 @@ TESTSUBDIRS= idlelib/idle_test \
23182318
test/tokenizedata \
23192319
test/tracedmodules \
23202320
test/typinganndata \
2321+
test/wheeldata \
23212322
test/xmltestdata \
23222323
test/xmltestdata/c14n-20
23232324

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy