summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_api.py')
-rw-r--r--tests/test_api.py2
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):