summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-17 04:15:19 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-17 04:15:19 (GMT)
commit5ef262c35fafb5908fda446ae48ec834599e066f (patch)
tree3824e53db26c504444e5a463b44137a9d4b6fcc4 /Lib
parent540d987d3485c39649edcd20a990bb35a6b86a3b (diff)
downloadcpython-5ef262c35fafb5908fda446ae48ec834599e066f.zip
cpython-5ef262c35fafb5908fda446ae48ec834599e066f.tar.gz
cpython-5ef262c35fafb5908fda446ae48ec834599e066f.tar.bz2
Simplify expression
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_mhlib.py2
1 files changed, 1 insertions, 1 deletions
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 <wink> to complain in test_sequence
# here, like the "OSError: [Errno 17] File exists" raised on Windows.