diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-04-20 09:28:12 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-04-20 09:28:12 -0400 |
commit | c4d546e69bf43a57d13be83a4fe5119af8704388 (patch) | |
tree | f1b508ce6bd0ff7e44409031724236f7b912901f | |
parent | 90fb7be170b825f1db84c338829806144838cdc8 (diff) | |
download | python-setuptools-git-c4d546e69bf43a57d13be83a4fe5119af8704388.tar.gz |
Remove superfluous slice
-rw-r--r-- | setuptools/tests/test_egg_info.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/tests/test_egg_info.py b/setuptools/tests/test_egg_info.py index 1e447b08..7f52fe22 100644 --- a/setuptools/tests/test_egg_info.py +++ b/setuptools/tests/test_egg_info.py @@ -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 |