From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 13 Sep 2018 18:35:18 +0000 (-0700) Subject: bpo-34661: Fix test skipping call. (GH-9266) X-Git-Tag: v3.7.1rc1~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=218b4bf47410ff8ab46b68461267fe10db18aee1;p=thirdparty%2FPython%2Fcpython.git bpo-34661: Fix test skipping call. (GH-9266) (cherry picked from commit e78734d579439861f6d7e12f35d268836b2c1e24) Co-authored-by: Benjamin Peterson --- diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index ee23ac806283..6e2b1004d309 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -1125,7 +1125,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))