Browse Source
bpo-34661: Fix test skipping call. (GH-9266)
pull/9273/head
Benjamin Peterson
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Lib/test/test_shutil.py
|
|
|
@ -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)) |
|
|
|
|
|
|
|
|