Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 340d7d2

Browse files
committed
Merged revisions 81102 via svnmerge from
svn+ssh://[email protected]/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. ........
1 parent 53b2166 commit 340d7d2

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

Lib/test/test_asyncore.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -619,12 +619,8 @@ def test_connection_attributes(self):
619619
# we start disconnected
620620
self.assertFalse(server.connected)
621621
self.assertTrue(server.accepting)
622-
# XXX - Solaris seems to connect() immediately even without
623-
# starting the poller. This is something which should be
624-
# fixed as handle_connect() gets called immediately even if
625-
# no connection actually took place (see issue #8490).
626-
if not sys.platform.startswith("sunos"):
627-
self.assertFalse(client.connected)
622+
# this can't be taken for granted across all platforms
623+
#self.assertFalse(client.connected)
628624
self.assertFalse(client.accepting)
629625

630626
# execute some loops so that client connects to server

0 commit comments

Comments
 (0)