tests/run-tests.py
changeset 20219 f694cd81b600
parent 20046 6a03695fa72a
child 20258 3cd441353d6b
--- a/tests/run-tests.py	Mon Dec 23 14:14:31 2013 +0100
+++ b/tests/run-tests.py	Mon Nov 25 22:00:46 2013 +0100
@@ -63,7 +63,7 @@
 # subprocess._cleanup can race with any Popen.wait or Popen.poll on py24
 # http://bugs.python.org/issue1731717 for details. We shouldn't be producing
 # zombies but it's pretty harmless even if we do.
-if sys.version_info[1] < 5:
+if sys.version_info < (2, 5):
     subprocess._cleanup = lambda: None
 
 closefds = os.name == 'posix'