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