Commit 0240abed authored by Jason Madden's avatar Jason Madden

D'oh. Check the correct version component.

parent 784ea8bd
......@@ -30,7 +30,7 @@ if sys.version_info[:2] <= (2, 6):
__file__ = os.path.join(os.getcwd(), test_filename)
test_name = os.path.splitext(test_filename)[0]
if sys.version_info[1] >= 3:
if sys.version_info[0] >= 3:
module_file = open(test_filename, encoding='utf-8')
else:
module_file = open(test_filename)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment