summaryrefslogtreecommitdiff
path: root/tests/test_api.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-04-21 09:49:57 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-04-21 09:49:57 -0400
commitf576188dc66eca4a9891f6d8bd6f8d4d006ee310 (patch)
tree71d7c4ff8de04399005f8596a6eebd0ec1edfe85 /tests/test_api.py
parent7b9c1053bb75eab197acfcec53e9bb6ea7568a0e (diff)
downloadpython-coveragepy-git-f576188dc66eca4a9891f6d8bd6f8d4d006ee310.tar.gz
Check for skipping tests before super.setUp
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 24fe8776..22020cb4 100644
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -509,9 +509,9 @@ class NamespaceModuleTest(UsingModulesMixin, CoverageTest):
"""Test PEP-420 namespace modules."""
def setUp(self):
- super(NamespaceModuleTest, self).setUp()
if not env.PYBEHAVIOR.namespaces_pep420:
self.skipTest("Python before 3.3 doesn't have namespace packages")
+ super(NamespaceModuleTest, self).setUp()
def test_explicit_namespace_module(self):
self.make_file("main.py", "import namespace_420\n")