Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit be85f35

Browse filesBrowse files
[3.12] gh-108303: Move .whl test files to Lib/test/wheeldata/ (GH-114343) (#114488)
gh-108303: Move `.whl` test files to `Lib/test/wheeldata/` (GH-114343) (cherry picked from commit ba253a4) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent d492b19 commit be85f35
Copy full SHA for be85f35

File tree

4 files changed

+4
-1
lines changed
Filter options

4 files changed

+4
-1
lines changed

‎Lib/test/support/__init__.py

Copy file name to clipboardExpand all lines: Lib/test/support/__init__.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,9 @@ def _findwheel(pkgname):
21792179
If set, the wheels are searched for in WHEEL_PKG_DIR (see ensurepip).
21802180
Otherwise, they are searched for in the test directory.
21812181
"""
2182-
wheel_dir = sysconfig.get_config_var('WHEEL_PKG_DIR') or TEST_HOME_DIR
2182+
wheel_dir = sysconfig.get_config_var('WHEEL_PKG_DIR') or os.path.join(
2183+
TEST_HOME_DIR, 'wheeldata',
2184+
)
21832185
filenames = os.listdir(wheel_dir)
21842186
filenames = sorted(filenames, reverse=True) # approximate "newest" first
21852187
for filename in filenames:

‎Makefile.pre.in

Copy file name to clipboardExpand all lines: Makefile.pre.in
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2241,6 +2241,7 @@ TESTSUBDIRS= idlelib/idle_test \
22412241
test/tokenizedata \
22422242
test/tracedmodules \
22432243
test/typinganndata \
2244+
test/wheeldata \
22442245
test/xmltestdata \
22452246
test/xmltestdata/c14n-20 \
22462247
test/ziptestdata

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.