Fix Python version checking in Python tests

This commit is contained in:
William S Fulton 2013-05-24 18:57:26 +01:00
commit 074c0039db
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import sys
import file_test
if sys.version[0:2] > (3, 0):
if sys.version_info[0:2] < (3, 0):
file_test.nfile(sys.stdout)
cstdout = file_test.GetStdOut()