Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 540d987 commit 5ef262cCopy full SHA for 5ef262c
1 file changed
Lib/test/test_mhlib.py
@@ -13,7 +13,7 @@
13
import sys
14
import mhlib
15
16
-if sys.platform.startswith("win") or sys.platform.startswith("atheos"):
+if sys.platform.startswith(("win", "atheos")):
17
# mhlib.updateline() renames a file to the name of a file that already
18
# exists. That causes a reasonable OS <wink> to complain in test_sequence
19
# here, like the "OSError: [Errno 17] File exists" raised on Windows.
0 commit comments