diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-01 12:41:58 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-12-01 12:41:58 -0500 |
| commit | efededd6aa8be5ab054037ee32680a772d06a3c5 (patch) | |
| tree | 13832b34ada498d9845550dc8b36328aec606d30 /setuptools/tests/__init__.py | |
| parent | 81c103f75d22580b14f162103232632444c9ec6f (diff) | |
| download | python-setuptools-git-efededd6aa8be5ab054037ee32680a772d06a3c5.tar.gz | |
Expect failures on these tests due to ASCII
Diffstat (limited to 'setuptools/tests/__init__.py')
| -rw-r--r-- | setuptools/tests/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/tests/__init__.py b/setuptools/tests/__init__.py index b8a29cba..a93be134 100644 --- a/setuptools/tests/__init__.py +++ b/setuptools/tests/__init__.py @@ -16,6 +16,10 @@ import setuptools.depends as dep from setuptools import Feature from setuptools.depends import Require +c_type = os.environ.get("LC_CTYPE", os.environ.get("LC_ALL")) +is_ascii = c_type in ("C", "POSIX") +fail_on_ascii = pytest.mark.xfail(is_ascii, "Test fails in this locale") + def makeSetup(**args): """Return distribution from 'setup(**args)', without executing commands""" |
