]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Removed the assertion that dispatcher.connected attribute must be False after a singl...
authorGiampaolo Rodolà <g.rodola@gmail.com>
Wed, 12 May 2010 00:29:27 +0000 (00:29 +0000)
committerGiampaolo Rodolà <g.rodola@gmail.com>
Wed, 12 May 2010 00:29:27 +0000 (00:29 +0000)
Lib/test/test_asyncore.py

index 2fb40b96ea2550457eba62f51ccbf2d05aefa674..ed4c8a30384456a0e97bcb1023b640cf5935a6cc 100644 (file)
@@ -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