]> granicus.if.org Git - python/commit
Issue #12326: don't test the major version of sys.platform
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 17 Aug 2011 18:49:41 +0000 (20:49 +0200)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 17 Aug 2011 18:49:41 +0000 (20:49 +0200)
commit9c3de4a88357cef2753d30c816a238bd74f39273
treec799cb6ebcd0ec62801a275291e4f8b0ca9846d0
parentc77239613ba08878f07fac5e23ea60fbcf386a06
Issue #12326: don't test the major version of sys.platform

Use startswith, instead of ==, when testing sys.platform to support
new platforms like Linux 3 or OpenBSD 5.
Lib/distutils/tests/test_bdist_rpm.py
Lib/test/regrtest.py
Lib/test/test_fcntl.py
Lib/test/test_logging.py
Lib/test/test_socket.py
Lib/test/test_tarfile.py
Lib/test/test_tempfile.py
setup.py