8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294a732 commit 6a23efdCopy full SHA for 6a23efd
test.py
@@ -14,7 +14,6 @@
14
15
import sys
16
import os
17
-# import os.path as osp
18
from pathlib import Path
19
import re
20
@@ -26,11 +25,8 @@ def test_python_packages(pyver):
26
25
"""Check if all Python packages are supported by WinPython"""
27
basedir = utils.get_basedir(pyver)
28
for suffix in ('src', 'win32', 'win-amd64'):
29
- # dirname = osp.join(basedir, 'packages.%s' % suffix)
30
dirname = str(Path(basedir) / f'packages.{suffix}')
31
for name in os.listdir(dirname):
32
- # if osp.isfile(osp.join(dirname, name)) \
33
- # if osp.isfile(str(Path(dirname) / name)) \
34
if (Path(dirname) / name).is_file() \
35
and not re.match(r'python-([0-9\.]*)(\.amd64)?\.msi', name):
36
try:
0 commit comments