[Python-checkins] bpo-34661: Fix test skipping call. (GH-9266)
Miss Islington (bot)
webhook-mailer at python.org
Thu Sep 13 14:47:50 EDT 2018
https://github.com/python/cpython/commit/81361cdff847f14f6258c0ead17817d6f9e04022
commit: 81361cdff847f14f6258c0ead17817d6f9e04022
branch: 3.6
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-09-13T11:47:47-07:00
summary:
bpo-34661: Fix test skipping call. (GH-9266)
(cherry picked from commit e78734d579439861f6d7e12f35d268836b2c1e24)
Co-authored-by: Benjamin Peterson <benjamin at python.org>
files:
M Lib/test/test_shutil.py
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index 8b5c35ae9ad5..81457c8f09c9 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1128,7 +1128,7 @@ def test_unzip_zipfile(self):
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))
More information about the Python-checkins
mailing list