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

This commit is contained in:
Benjamin Peterson 2018-09-13 10:57:23 -07:00 • committed by GitHub
parent a710ebd21b
commit e78734d579
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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