]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-34661: Fix test skipping call. (GH-9266)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Sep 2018 18:47:47 +0000 (11:47 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Sep 2018 18:47:47 +0000 (11:47 -0700)
(cherry picked from commit e78734d579439861f6d7e12f35d268836b2c1e24)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Lib/test/test_shutil.py

index 8b5c35ae9ad541a41103f1a9215b49731b11dad1..81457c8f09c972c0a6f2bb310963fe2eea9da7da 100644 (file)
@@ -1128,7 +1128,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))