Skip to content

Commit

Permalink
Fixed logic reversal error for inclusion of unittest2
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Laing committed Oct 6, 2012
1 parent 8e5f870 commit fb51406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Conditional include unittest2 for versions of python < 2.7
tests_require=['nose', 'mock']
platform_version = list(platform.python_version_tuple())[0:2]
if platform_version[0] != '3' or platform_version != ['2', '7']:
if platform_version[0] != '3' and platform_version != ['2', '7']:
tests_require.append('unittest2')

long_description = ('Pika is a pure-Python implementation of the AMQP 0-9-1 '
Expand Down

0 comments on commit fb51406

Please sign in to comment.