From 218b4bf47410ff8ab46b68461267fe10db18aee1 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 13 Sep 2018 11:35:18 -0700 Subject: [PATCH] bpo-34661: Fix test skipping call. (GH-9266) (cherry picked from commit e78734d579439861f6d7e12f35d268836b2c1e24) Co-authored-by: Benjamin Peterson --- Lib/test/test_shutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index ee23ac80628..6e2b1004d30 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))