From: Benjamin Peterson Date: Thu, 13 Sep 2018 17:57:23 +0000 (-0700) Subject: bpo-34661: Fix test skipping call. (GH-9266) X-Git-Tag: v3.8.0a1~1009 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e78734d579439861f6d7e12f35d268836b2c1e24;p=thirdparty%2FPython%2Fcpython.git bpo-34661: Fix test skipping call. (GH-9266) --- 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 @@ 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))