[Python-checkins] r80930 - python/branches/asyncore-tests-issue8490/Lib/test/test_asyncore.py
giampaolo.rodola
python-checkins at python.org
Fri May 7 19:59:50 CEST 2010
Author: giampaolo.rodola
Date: Fri May 7 19:59:50 2010
New Revision: 80930
Log:
determine whether we're on solaris by using sys.platform == 'sunos' instead of 'solaris'
Modified:
python/branches/asyncore-tests-issue8490/Lib/test/test_asyncore.py
Modified: python/branches/asyncore-tests-issue8490/Lib/test/test_asyncore.py
==============================================================================
--- python/branches/asyncore-tests-issue8490/Lib/test/test_asyncore.py (original)
+++ python/branches/asyncore-tests-issue8490/Lib/test/test_asyncore.py Fri May 7 19:59:50 2010
@@ -552,7 +552,7 @@
client = TestClient(server.address)
self.loop_waiting_for_flag(client)
- @unittest.skipIf(sys.platform.startswith("solaris"), "OOB support is broken")
+ @unittest.skipIf(sys.platform.startswith("sunos"), "OOB support is broken")
def test_handle_expt(self):
# Make sure handle_expt is called on OOB data received.
# Note: this might fail on some platforms as OOB data is
@@ -598,7 +598,7 @@
self.assertTrue(server.accepting)
# solaris seems to connect() immediately even without starting
# the poller
- if not sys.platform.startswith("solaris"):
+ if not sys.platform.startswith("sunos"):
self.assertFalse(client.connected)
self.assertFalse(client.accepting)
More information about the Python-checkins
mailing list