We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f25d85 commit a553651Copy full SHA for a553651
Lib/test/test_shutil.py
@@ -1911,7 +1911,10 @@ def test_unzip_zipfile(self):
1911
subprocess.check_output(zip_cmd, stderr=subprocess.STDOUT)
1912
except subprocess.CalledProcessError as exc:
1913
details = exc.output.decode(errors="replace")
1914
- if 'unrecognized option: t' in details:
+ if any(message in details for message in [
1915
+ 'unrecognized option: t', # BusyBox
1916
+ 'invalid option -- t', # Android
1917
+ ]):
1918
self.skipTest("unzip doesn't support -t")
1919
msg = "{}\n\n**Unzip Output**\n{}"
1920
self.fail(msg.format(exc, details))
0 commit comments