diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-13 07:57:18 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-06-13 07:57:18 -0400 |
commit | 1bbfe7e938d0250a1bb777492f617e95349abc5d (patch) | |
tree | a9aabf7bee2a67d4479e34a56e4efabb6bbfb1e2 /tests/test_farm.py | |
parent | 637851fcc659b92ad493c3edc87f9f2fc9b1c313 (diff) | |
download | python-coveragepy-git-1bbfe7e938d0250a1bb777492f617e95349abc5d.tar.gz |
Make version checking more uniform
Diffstat (limited to 'tests/test_farm.py')
-rw-r--r-- | tests/test_farm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_farm.py b/tests/test_farm.py index 83681260..4fc0ea5a 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -36,7 +36,7 @@ def test_farm(filename): # "rU" was deprecated in 3.4 -READ_MODE = "rU" if sys.version_info < (3, 4) else "r" +READ_MODE = "rU" if env.PYVERSION < (3, 4) else "r" class FarmTestCase(ModuleAwareMixin, SysPathAwareMixin, unittest.TestCase): |