mirror of https://github.com/python/cpython
gh-108303: Move `.whl` test files to `Lib/test/wheeldata/` (#114343)
This commit is contained in:
parent
01105c7c4f
commit
ba253a4794
|
@ -2193,7 +2193,9 @@ def _findwheel(pkgname):
|
|||
If set, the wheels are searched for in WHEEL_PKG_DIR (see ensurepip).
|
||||
Otherwise, they are searched for in the test directory.
|
||||
"""
|
||||
wheel_dir = sysconfig.get_config_var('WHEEL_PKG_DIR') or TEST_HOME_DIR
|
||||
wheel_dir = sysconfig.get_config_var('WHEEL_PKG_DIR') or os.path.join(
|
||||
TEST_HOME_DIR, 'wheeldata',
|
||||
)
|
||||
filenames = os.listdir(wheel_dir)
|
||||
filenames = sorted(filenames, reverse=True) # approximate "newest" first
|
||||
for filename in filenames:
|
||||
|
|
|
@ -2318,6 +2318,7 @@ TESTSUBDIRS= idlelib/idle_test \
|
|||
test/tokenizedata \
|
||||
test/tracedmodules \
|
||||
test/typinganndata \
|
||||
test/wheeldata \
|
||||
test/xmltestdata \
|
||||
test/xmltestdata/c14n-20
|
||||
|
||||
|
|
Loading…
Reference in New Issue