summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asynchat.py
Commit message (Collapse)AuthorAgeFilesLines
* Set the SO_REUSEADDR socket option in the server thread -- this seemsGuido van Rossum2001-04-151-0/+1
| | | | | needed on some platforms (e.g. Solaris 8) when the test is run twice in quick succession.
* Add "import thread" at the top of the module; this prevents us fromGuido van Rossum2001-04-141-0/+1
| | | | | failing later when Python is compiled without threading but a failing 'threading' module can be imported due to an earlier (caught) attempt.
* After testing the test on Unix, several improvements:Guido van Rossum2001-04-061-3/+4
| | | | | | - Use push() instead of send(), and make these calls in main(). - Sleep a second to give the server thread time to initialize itself.
* Add test for asynchat. This also tests asyncore.Guido van Rossum2001-04-061-0/+55