Skip to content

Commit

Permalink
gh-108303: Move .whl test files to Lib/test/wheeldata/ (#114343)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jan 23, 2024
1 parent 01105c7 commit ba253a4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Lib/test/support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions Makefile.pre.in
Original file line number Diff line number Diff line change
Expand Up @@ -2318,6 +2318,7 @@ TESTSUBDIRS= idlelib/idle_test \
test/tokenizedata \
test/tracedmodules \
test/typinganndata \
test/wheeldata \
test/xmltestdata \
test/xmltestdata/c14n-20

Expand Down

0 comments on commit ba253a4

Please sign in to comment.