summaryrefslogtreecommitdiff
path: root/tests/test_process.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_process.py
parent7b9c1053bb75eab197acfcec53e9bb6ea7568a0e (diff)
downloadpython-coveragepy-git-f576188dc66eca4a9891f6d8bd6f8d4d006ee310.tar.gz
Check for skipping tests before super.setUp
Diffstat (limited to 'tests/test_process.py')
-rw-r--r--tests/test_process.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_process.py b/tests/test_process.py
index f234a9ef..6d8133cd 100644
--- a/tests/test_process.py
+++ b/tests/test_process.py
@@ -1092,9 +1092,9 @@ class AliasedCommandTest(CoverageTest):
run_in_temp_dir = False
def setUp(self):
- super(AliasedCommandTest, self).setUp()
if env.JYTHON:
self.skipTest("Coverage command names don't work on Jython")
+ super(AliasedCommandTest, self).setUp()
def test_major_version_works(self):
# "coverage2" works on py2
@@ -1210,9 +1210,9 @@ class UnicodeFilePathsTest(CoverageTest):
"""Tests of using non-ascii characters in the names of files."""
def setUp(self):
- super(UnicodeFilePathsTest, self).setUp()
if env.JYTHON:
self.skipTest("Jython doesn't like accented file names")
+ super(UnicodeFilePathsTest, self).setUp()
def test_accented_dot_py(self):
# Make a file with a non-ascii character in the filename.