diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-08-10 09:41:48 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-08-10 09:41:48 -0400 |
| commit | 1d36597f52bd2d0093964c55520f4ddf5774fe53 (patch) | |
| tree | 321e6f0e12ce1b2eced7f4f8cec3da7e08c10d83 /setuptools/_distutils/tests/py38compat.py | |
| parent | 71c44d9606f85d80ab5a45530e40552237a1ba1f (diff) | |
| parent | b65aa401e5f533bce966012ca392521e2f939d32 (diff) | |
| download | python-setuptools-git-1d36597f52bd2d0093964c55520f4ddf5774fe53.tar.gz | |
Merge https://github.com/pypa/distutils into distutils-b65aa40
Diffstat (limited to 'setuptools/_distutils/tests/py38compat.py')
| -rw-r--r-- | setuptools/_distutils/tests/py38compat.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/setuptools/_distutils/tests/py38compat.py b/setuptools/_distutils/tests/py38compat.py index 96f93a31..35ddbb5b 100644 --- a/setuptools/_distutils/tests/py38compat.py +++ b/setuptools/_distutils/tests/py38compat.py @@ -42,5 +42,17 @@ except (ModuleNotFoundError, ImportError): ) +try: + from test.support.import_helper import ( + DirsOnSysPath, + CleanImport, + ) +except (ModuleNotFoundError, ImportError): + from test.support import ( + DirsOnSysPath, + CleanImport, + ) + + if sys.version_info < (3, 9): requires_zlib = lambda: test.support.requires_zlib |
