Skip to content

Commit 81361cd

Browse files
bpo-34661: Fix test skipping call. (GH-9266)
(cherry picked from commit e78734d) Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 parent 7eeb80b commit 81361cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_shutil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ def test_unzip_zipfile(self):
11281128
except subprocess.CalledProcessError as exc:
11291129
details = exc.output.decode(errors="replace")
11301130
if 'unrecognized option: t' in details:
1131-
self.skip("unzip doesn't support -t")
1131+
self.skipTest("unzip doesn't support -t")
11321132
msg = "{}\n\n**Unzip Output**\n{}"
11331133
self.fail(msg.format(exc, details))
11341134

0 commit comments

Comments
 (0)