aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-04-05 09:27:23 -0400
committerJason R. Coombs <jaraco@jaraco.com>2019-04-05 09:27:23 -0400
commit393809a02ed4d0f07faec5c1f23384233e6cd68e (patch)
treec53f766a37478e1d35e65ae87c574b6baab16ed2 /setuptools/tests
parentdd522e601426ad35644022278ca2a09a7cc542ad (diff)
downloadexternal_python_setuptools-393809a02ed4d0f07faec5c1f23384233e6cd68e.tar.gz
external_python_setuptools-393809a02ed4d0f07faec5c1f23384233e6cd68e.tar.bz2
external_python_setuptools-393809a02ed4d0f07faec5c1f23384233e6cd68e.zip
Feed the hobgoblins (delint).
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_config.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/setuptools/tests/test_config.py b/setuptools/tests/test_config.py
index 6b177709..4daf1df1 100644
--- a/setuptools/tests/test_config.py
+++ b/setuptools/tests/test_config.py
@@ -8,7 +8,7 @@ from distutils.errors import DistutilsOptionError, DistutilsFileError
from mock import patch
from setuptools.dist import Distribution, _Distribution
from setuptools.config import ConfigHandler, read_configuration
-from setuptools.extern.six.moves.configparser import InterpolationMissingOptionError
+from setuptools.extern.six.moves import configparser
from setuptools.tests import is_ascii
from . import py2_only, py3_only
from .textwrap import DALS
@@ -29,7 +29,9 @@ def make_package_dir(name, base_dir, ns=False):
return dir_package, init_file
-def fake_env(tmpdir, setup_cfg, setup_py=None, encoding='ascii', package_path='fake_package'):
+def fake_env(
+ tmpdir, setup_cfg, setup_py=None,
+ encoding='ascii', package_path='fake_package'):
if setup_py is None:
setup_py = (
@@ -440,11 +442,12 @@ class TestMetadata:
'[metadata]\n'
'description = %(message)s\n'
)
- with pytest.raises(InterpolationMissingOptionError):
+ with pytest.raises(configparser.InterpolationMissingOptionError):
with get_dist(tmpdir):
pass
- skip_if_not_ascii = pytest.mark.skipif(not is_ascii, reason='Test not supported with this locale')
+ skip_if_not_ascii = pytest.mark.skipif(
+ not is_ascii, reason='Test not supported with this locale')
@skip_if_not_ascii
def test_non_ascii_1(self, tmpdir):