summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
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.