From 5ef262c35fafb5908fda446ae48ec834599e066f Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 17 Aug 2007 04:15:19 +0000 Subject: Simplify expression --- Lib/test/test_mhlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_mhlib.py b/Lib/test/test_mhlib.py index 09522f7..aea83ba 100644 --- a/Lib/test/test_mhlib.py +++ b/Lib/test/test_mhlib.py @@ -13,7 +13,7 @@ import io import sys import mhlib -if sys.platform.startswith("win") or sys.platform.startswith("atheos"): +if sys.platform.startswith(("win", "atheos")): # mhlib.updateline() renames a file to the name of a file that already # exists. That causes a reasonable OS to complain in test_sequence # here, like the "OSError: [Errno 17] File exists" raised on Windows. -- cgit v0.12