Author: neal.norwitz
Date: Fri Aug 17 06:15:19 2007
New Revision: 57128
Modified:
python/branches/py3k/Lib/test/test_mhlib.py
Log:
Simplify expression
Modified: python/branches/py3k/Lib/test/test_mhlib.py
==============================================================================
--- python/branches/py3k/Lib/test/test_mhlib.py (original)
+++ python/branches/py3k/Lib/test/test_mhlib.py Fri Aug 17 06:15:19 2007
@@ -13,7 +13,7 @@
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.
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins