summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGiampaolo RodolĂ  <g.rodola@gmail.com>2010-05-12 00:29:27 (GMT)
committerGiampaolo RodolĂ  <g.rodola@gmail.com>2010-05-12 00:29:27 (GMT)
commitfd25594aa4180581cf02f2fb2d4dc51e7e4a1262 (patch)
tree3feac250eb33756690c670d67f451c7bfbd77580 /Lib/test
parentfc3bfad2e0376ea5aa8a0c5352aafd3d731aaad7 (diff)
downloadcpython-fd25594aa4180581cf02f2fb2d4dc51e7e4a1262.zip
cpython-fd25594aa4180581cf02f2fb2d4dc51e7e4a1262.tar.gz
cpython-fd25594aa4180581cf02f2fb2d4dc51e7e4a1262.tar.bz2
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.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_asyncore.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/Lib/test/test_asyncore.py b/Lib/test/test_asyncore.py
index 2fb40b9..ed4c8a3 100644
--- a/Lib/test/test_asyncore.py
+++ b/Lib/test/test_asyncore.py
@@ -618,12 +618,8 @@ class BaseTestAPI(unittest.TestCase):
# 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