From: Neal Norwitz Date: Fri, 17 Aug 2007 04:15:19 +0000 (+0000) Subject: Simplify expression X-Git-Tag: v3.0a1~377 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ef262c35fafb5908fda446ae48ec834599e066f;p=thirdparty%2FPython%2Fcpython.git Simplify expression --- diff --git a/Lib/test/test_mhlib.py b/Lib/test/test_mhlib.py index 09522f7de958..aea83ba09561 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.