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))