Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ef262c

Browse files
committed
Simplify expression
1 parent 540d987 commit 5ef262c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_mhlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import sys
1414
import mhlib
1515

16-
if sys.platform.startswith("win") or sys.platform.startswith("atheos"):
16+
if sys.platform.startswith(("win", "atheos")):
1717
# mhlib.updateline() renames a file to the name of a file that already
1818
# exists. That causes a reasonable OS <wink> to complain in test_sequence
1919
# here, like the "OSError: [Errno 17] File exists" raised on Windows.

0 commit comments

Comments
 (0)