mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Simplify expression
This commit is contained in:
parent
540d987d34
commit
5ef262c35f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue