diff options
author | Matti Picus <matti.picus@gmail.com> | 2020-01-06 15:46:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 15:46:53 +0200 |
commit | 3e85f92e0f6a10a8eeb477795944a7bee93e2c4c (patch) | |
tree | 1264ed97b9d29b28462eabc664e691d5d23368b5 /numpy | |
parent | 90c2a551919474ae4f1669bb956f20316ec7580f (diff) | |
parent | 679c83407ca95eab7eec844e945a725b932fbb60 (diff) | |
download | numpy-3e85f92e0f6a10a8eeb477795944a7bee93e2c4c.tar.gz |
Merge pull request #15255 from eric-wieser/remove-numpy.distutils.compat
MAINT: Delete numpy.distutils.compat
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/distutils/compat.py | 8 | ||||
-rw-r--r-- | numpy/tests/test_public_api.py | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/numpy/distutils/compat.py b/numpy/distutils/compat.py deleted file mode 100644 index afe0beedb..000000000 --- a/numpy/distutils/compat.py +++ /dev/null @@ -1,8 +0,0 @@ -"""Small modules to cope with python 2 vs 3 incompatibilities inside -numpy.distutils - -""" -import sys - -def get_exception(): - return sys.exc_info()[1] diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 4ee84034d..48dd42a9f 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -225,7 +225,6 @@ PRIVATE_BUT_PRESENT_MODULES = ['numpy.' + s for s in [ "distutils.command.install_data", "distutils.command.install_headers", "distutils.command.sdist", - "distutils.compat", "distutils.conv_template", "distutils.core", "distutils.extension", |