diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2019-03-24 13:05:20 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2019-03-24 13:05:20 -0400 |
commit | 820b255f34a0aac8670b0c819153bb8b38c4b2c6 (patch) | |
tree | 61cc57a000b6d73d20f7ecadec76a9fb79b04206 /tests/test_api.py | |
parent | ce55ad5567d461cebf7bd73d9662c6ac36696106 (diff) | |
download | python-coveragepy-git-820b255f34a0aac8670b0c819153bb8b38c4b2c6.tar.gz |
Move more PYVERSION to be PYBEHAVIOR
Diffstat (limited to 'tests/test_api.py')
-rw-r--r-- | tests/test_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 2f6f7a2f..755a89a2 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -495,7 +495,7 @@ class NamespaceModuleTest(UsingModulesMixin, CoverageTest): def setUp(self): super(NamespaceModuleTest, self).setUp() - if env.PYVERSION < (3, 3): + if not env.PYBEHAVIOR.namespaces_pep420: self.skipTest("Python before 3.3 doesn't have namespace packages") def test_explicit_namespace_module(self): |