aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_depends.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-12-29 12:47:31 -0500
committerJason R. Coombs <jaraco@jaraco.com>2019-12-29 12:47:31 -0500
commita5b66a8581b758aff763765857359ef540631202 (patch)
tree9404571514fbe550c98a939bd4458d97e1bf1dd2 /setuptools/tests/test_depends.py
parentd53e024af2f5d8f3a4a36588c3dc004d156bc830 (diff)
parente6bdf25f6ab5bf4d32b0f9affa0ab98ea35f3a29 (diff)
downloadexternal_python_setuptools-a5b66a8581b758aff763765857359ef540631202.tar.gz
external_python_setuptools-a5b66a8581b758aff763765857359ef540631202.tar.bz2
external_python_setuptools-a5b66a8581b758aff763765857359ef540631202.zip
Merge branch 'master' into feature/include-pyproject.toml
Diffstat (limited to 'setuptools/tests/test_depends.py')
-rw-r--r--setuptools/tests/test_depends.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/setuptools/tests/test_depends.py b/setuptools/tests/test_depends.py
index e0cfa880..bff1dfb1 100644
--- a/setuptools/tests/test_depends.py
+++ b/setuptools/tests/test_depends.py
@@ -5,12 +5,12 @@ from setuptools import depends
class TestGetModuleConstant:
- def test_basic(self):
- """
- Invoke get_module_constant on a module in
- the test package.
- """
- mod_name = 'setuptools.tests.mod_with_constant'
- val = depends.get_module_constant(mod_name, 'value')
- assert val == 'three, sir!'
- assert 'setuptools.tests.mod_with_constant' not in sys.modules
+ def test_basic(self):
+ """
+ Invoke get_module_constant on a module in
+ the test package.
+ """
+ mod_name = 'setuptools.tests.mod_with_constant'
+ val = depends.get_module_constant(mod_name, 'value')
+ assert val == 'three, sir!'
+ assert 'setuptools.tests.mod_with_constant' not in sys.modules