summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/tests/test_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-07-08 20:42:40 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-07-08 20:42:40 -0400
commitcafc9f4d3a840f16dcaf096a76f0a7965ad264bf (patch)
tree19b09c7fdb7e061a244319e6744ef561d9973ef2 /setuptools/_distutils/tests/test_install.py
parentec410c356578b5c51aec9a76b2f1de38f788b167 (diff)
parent9ec01c3a48fa9ae5c188ec5a8d9c77f06df47d09 (diff)
downloadpython-setuptools-git-bugfix/2232-ubuntu-patch.tar.gz
Merge https://github.com/pypa/distutils into bugfix/2232-ubuntu-patchbugfix/2232-ubuntu-patch
Diffstat (limited to 'setuptools/_distutils/tests/test_install.py')
-rw-r--r--setuptools/_distutils/tests/test_install.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/_distutils/tests/test_install.py b/setuptools/_distutils/tests/test_install.py
index eb684a09..907442bb 100644
--- a/setuptools/_distutils/tests/test_install.py
+++ b/setuptools/_distutils/tests/test_install.py
@@ -15,6 +15,7 @@ from distutils.command.install import INSTALL_SCHEMES
from distutils.core import Distribution
from distutils.errors import DistutilsOptionError
from distutils.extension import Extension
+from distutils._platform import is_debian
from distutils.tests import support
from test import support as test_support
@@ -195,6 +196,7 @@ class InstallTestCase(support.TempdirManager,
found = [os.path.basename(line) for line in content.splitlines()]
expected = ['hello.py', 'hello.%s.pyc' % sys.implementation.cache_tag,
'sayhi',
+ 'UNKNOWN-0.0.0.egg-info' if is_debian() else
'UNKNOWN-0.0.0-py%s.%s.egg-info' % sys.version_info[:2]]
self.assertEqual(found, expected)
@@ -228,6 +230,7 @@ class InstallTestCase(support.TempdirManager,
found = [os.path.basename(line) for line in content.splitlines()]
expected = [_make_ext_name('xx'),
+ 'UNKNOWN-0.0.0.egg-info' if is_debian() else
'UNKNOWN-0.0.0-py%s.%s.egg-info' % sys.version_info[:2]]
self.assertEqual(found, expected)