aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-12-28 20:26:22 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-12-28 20:26:22 -0500
commita01cf3c234877ee6d2ff4cc0b1098cc05b53d6d1 (patch)
treea8da696d8aea60dca0045767aaecf67db79dc8d2 /setuptools/tests
parenta29c9a4de0c8cf75b89582a0bf718056d58b0c10 (diff)
parent1bd827efdf08b77f8a0a29c58dfc805368466964 (diff)
downloadexternal_python_setuptools-a01cf3c234877ee6d2ff4cc0b1098cc05b53d6d1.tar.gz
external_python_setuptools-a01cf3c234877ee6d2ff4cc0b1098cc05b53d6d1.tar.bz2
external_python_setuptools-a01cf3c234877ee6d2ff4cc0b1098cc05b53d6d1.zip
Merge proposals. Ref #866.
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_depends.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/setuptools/tests/test_depends.py b/setuptools/tests/test_depends.py
index fcf2a636..e0cfa880 100644
--- a/setuptools/tests/test_depends.py
+++ b/setuptools/tests/test_depends.py
@@ -14,15 +14,3 @@ class TestGetModuleConstant:
val = depends.get_module_constant(mod_name, 'value')
assert val == 'three, sir!'
assert 'setuptools.tests.mod_with_constant' not in sys.modules
-
-
-class TestIterCode:
- def test_empty(self):
- code = compile('', '<string>', mode='exec')
- expected = (100, 0), (83, None)
- assert tuple(depends._iter_code(code)) == expected
-
- def test_constant(self):
- code = compile('value = "three, sir!"', '<string>', mode='exec')
- expected = (100, 0), (90, 0), (100, 1), (83, None)
- assert tuple(depends._iter_code(code)) == expected