aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_egg_info.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py
index 1376075c..6358abf0 100644
--- a/setuptools/tests/test_egg_info.py
+++ b/setuptools/tests/test_egg_info.py
@@ -192,10 +192,11 @@ class TestEggInfo(object):
requires_txt = os.path.join(egg_info_dir, 'requires.txt')
with open(requires_txt) as fp:
install_requires = fp.read()
- assert install_requires.lstrip() == DALS('''
- [:python_version < "{sys.version_info[0]}"]
- barbazquux
- ''').format(sys=sys)
+ expected_requires = DALS('''
+ [:python_version < "{sys.version_info[0]}"]
+ barbazquux
+ ''').format(sys=sys)
+ assert install_requires.lstrip() == expected_requires
assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == []
def test_setup_requires_with_markers(self, tmpdir_cwd, env):