Fix Python version checking in Python tests
This commit is contained in:
parent
8700e79b3e
commit
074c0039db
3 changed files with 3 additions and 3 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue