bpo-34661: Fix test skipping call. (GH-9266)

(cherry picked from commit e78734d579)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
This commit is contained in:
Miss Islington (bot) 2018-09-13 11:35:18 -07:00 committed by GitHub
parent 1550b73112
commit 218b4bf474
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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