diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2020-08-31 21:14:49 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-08-31 21:14:49 -0400 |
| commit | 425dfd5ef9bd1963ba6224d6519162e276732d47 (patch) | |
| tree | 1a4eab3459bb1ca8d5f093d8521ac77cc83530a7 /setuptools/_distutils/tests | |
| parent | 17cb9d6bf249cefe653d3bdb712582409035a7db (diff) | |
| parent | ae27e13a663cc53d15632e884f7b4d601a8605dc (diff) | |
| download | python-setuptools-git-425dfd5ef9bd1963ba6224d6519162e276732d47.tar.gz | |
Merge branch 'clean' of https://github.com/pypa/distutils into master
Diffstat (limited to 'setuptools/_distutils/tests')
| -rw-r--r-- | setuptools/_distutils/tests/py38compat.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/_distutils/tests/py38compat.py b/setuptools/_distutils/tests/py38compat.py index 46ff5758..32269c7b 100644 --- a/setuptools/_distutils/tests/py38compat.py +++ b/setuptools/_distutils/tests/py38compat.py @@ -1,6 +1,9 @@ # flake8: noqa import contextlib +import builtins + +ModuleNotFoundError = getattr(builtins, 'ModuleNotFoundError', ImportError) try: from test.support.warnings_helper import check_warnings |
