Permalink
Browse files

Fixed logic reversal error for inclusion of unittest2

  • Loading branch information...
1 parent 8e5f870 commit fb514061ee40b3a72bfff04ae05ae076a5937e61 @michaelplaing michaelplaing committed Oct 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 setup.py
View
@@ -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 '

0 comments on commit fb51406

Please sign in to comment.