aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_dist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-03-15 21:15:12 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-03-15 21:18:58 -0400
commit9e801ebc68a3c729af9d9f51b6b6b323d90c2e55 (patch)
tree47d3151055cf32be34720752ee212d447ddd5b14 /setuptools/tests/test_dist.py
parent64c742406982f000e42dca065b4a34498312fb65 (diff)
parentb6076bee61984e6e05bf0d02e1daf09f0469e526 (diff)
downloadexternal_python_setuptools-9e801ebc68a3c729af9d9f51b6b6b323d90c2e55.tar.gz
external_python_setuptools-9e801ebc68a3c729af9d9f51b6b6b323d90c2e55.tar.bz2
external_python_setuptools-9e801ebc68a3c729af9d9f51b6b6b323d90c2e55.zip
Merge test from commit 'b6076' into feature/308-bypass-normalization
Diffstat (limited to 'setuptools/tests/test_dist.py')
-rw-r--r--setuptools/tests/test_dist.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/setuptools/tests/test_dist.py b/setuptools/tests/test_dist.py
index 6e8c45fd..b57cc9d3 100644
--- a/setuptools/tests/test_dist.py
+++ b/setuptools/tests/test_dist.py
@@ -11,6 +11,7 @@ from setuptools.dist import (
check_package_data,
DistDeprecationWarning,
)
+from setuptools import sic
from setuptools import Distribution
from setuptools.extern.six.moves.urllib.request import pathname2url
from setuptools.extern.six.moves.urllib_parse import urljoin
@@ -139,6 +140,13 @@ def __read_test_cases():
{'name': 'foo',
'version': '1.0.0',
'author': 'Snorri Sturluson'}),
+ (
+ 'Bypass normalized version',
+ dict(
+ name='foo',
+ version=sic('1.0.0a'),
+ ),
+ ),
]
return test_cases