Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed logic reversal error for inclusion of unittest2

  • Loading branch information...
commit fb514061ee40b3a72bfff04ae05ae076a5937e61 1 parent 8e5f870
@michaelplaing michaelplaing authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  setup.py
View
2  setup.py
@@ -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 '
Please sign in to comment.
Something went wrong with that request. Please try again.