]> granicus.if.org Git - python/commit
Speed up this test by about 99%. Remove sleeps and replace with events.
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 26 Feb 2008 08:04:59 +0000 (08:04 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 26 Feb 2008 08:04:59 +0000 (08:04 +0000)
commit75992edfaebbe08966746c7179b5c8ff8da8caeb
tree446905515521d8a90169e3dca861899d7fc05b5e
parent1b3e41c67eb1efcc3dcc4bae7099cb0688144710
Speed up this test by about 99%.  Remove sleeps and replace with events.
(This may fail on some slow platforms, but we can fix those cases which
should be relatively isolated and easier to find now.)
Move two test cases that didn't require a server to be started
to a separate TestCase.  These tests were taking 3 seconds which
is what the timeout was set to.
Lib/test/test_smtplib.py