summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2018-09-13 17:57:23 (GMT)
committerGitHub <noreply@github.com>2018-09-13 17:57:23 (GMT)
commite78734d579439861f6d7e12f35d268836b2c1e24 (patch)
tree7afc16734e036f94927c6d19a8c6fbceb110f0f8
parenta710ebd21b09efe902dde84d4862ce5c6427f7af (diff)
downloadcpython-e78734d579439861f6d7e12f35d268836b2c1e24.zip
cpython-e78734d579439861f6d7e12f35d268836b2c1e24.tar.gz
cpython-e78734d579439861f6d7e12f35d268836b2c1e24.tar.bz2
bpo-34661: Fix test skipping call. (GH-9266)
-rw-r--r--Lib/test/test_shutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index 797228d..a169c36 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1182,7 +1182,7 @@ class TestShutil(unittest.TestCase):
except subprocess.CalledProcessError as exc:
details = exc.output.decode(errors="replace")
if 'unrecognized option: t' in details:
- self.skip("unzip doesn't support -t")
+ self.skipTest("unzip doesn't support -t")
msg = "{}\n\n**Unzip Output**\n{}"
self.fail(msg.format(exc, details))