Commit c4d546e6 authored by Jason R. Coombs's avatar Jason R. Coombs

Remove superfluous slice

parent 90fb7be1
......@@ -83,7 +83,7 @@ class TestEggInfo(object):
assert 'tag_date = 0' in content
assert 'tag_svn_revision = 0' in content
if sys.version_info[0:2] >= (2, 7):
if sys.version_info >= (2, 7):
assert re.search('tag_date.*tag_svn_revision.*tag_build',
content,
re.MULTILINE | re.DOTALL) is not None
......@@ -111,7 +111,7 @@ class TestEggInfo(object):
assert 'tag_date = 0' in content
assert 'tag_svn_revision = 0' in content
if sys.version_info[0:2] >= (2, 7):
if sys.version_info >= (2, 7):
assert re.search('tag_build.*tag_date.*tag_svn_revision',
content,
re.MULTILINE | re.DOTALL) is not None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment