]> granicus.if.org Git - python/commitdiff
bpo-34661: Fix test skipping call. (GH-9266)
authorBenjamin Peterson <benjamin@python.org>
Thu, 13 Sep 2018 17:57:23 +0000 (10:57 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Sep 2018 17:57:23 +0000 (10:57 -0700)
Lib/test/test_shutil.py

index 797228db4d5156fe025079da1b990a0613c5aa24..a169c3684f2da49fbfd534c8e917e9663eaf2757 100644 (file)
@@ -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))