[Python-checkins] r81103 - in python/branches/py3k: Lib/test/test_asyncore.py
giampaolo.rodola
python-checkins at python.org
Wed May 12 02:33:15 CEST 2010
Author: giampaolo.rodola
Date: Wed May 12 02:33:15 2010
New Revision: 81103
Log:
Merged revisions 81102 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81102 | giampaolo.rodola | 2010-05-12 02:29:27 +0200 (mer, 12 mag 2010) | 1 line
Removed the assertion that dispatcher.connected attribute must be False after a single connect() call. Solaris and FreeBSD buildbots failures showed how connect() can succeed even in a single call. All bo failures should definitively be fixed now.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_asyncore.py
Modified: python/branches/py3k/Lib/test/test_asyncore.py
==============================================================================
--- python/branches/py3k/Lib/test/test_asyncore.py (original)
+++ python/branches/py3k/Lib/test/test_asyncore.py Wed May 12 02:33:15 2010
@@ -619,12 +619,8 @@
# we start disconnected
self.assertFalse(server.connected)
self.assertTrue(server.accepting)
- # XXX - Solaris seems to connect() immediately even without
- # starting the poller. This is something which should be
- # fixed as handle_connect() gets called immediately even if
- # no connection actually took place (see issue #8490).
- if not sys.platform.startswith("sunos"):
- self.assertFalse(client.connected)
+ # this can't be taken for granted across all platforms
+ #self.assertFalse(client.connected)
self.assertFalse(client.accepting)
# execute some loops so that client connects to server
More information about the Python-checkins
mailing list