[Python-checkins] bpo-34661: Fix test skipping call. (GH-9266)

Benjamin Peterson webhook-mailer at python.org
Thu Sep 13 13:57:26 EDT 2018


https://github.com/python/cpython/commit/e78734d579439861f6d7e12f35d268836b2c1e24
commit: e78734d579439861f6d7e12f35d268836b2c1e24
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2018年09月13日T10:57:23-07:00
summary:
bpo-34661: Fix test skipping call. (GH-9266)
files:
M Lib/test/test_shutil.py
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py
index 797228db4d51..a169c3684f2d 100644
--- a/Lib/test/test_shutil.py
+++ b/Lib/test/test_shutil.py
@@ -1182,7 +1182,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

AltStyle によって変換されたページ (->オリジナル) /