diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-08-25 03:55:03 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-08-25 03:55:03 (GMT) |
commit | 2532967122a54a6549238c799e01d5c18498279a (patch) | |
tree | 787dc28042e31fec2e3b41d05198cfa5f1604aa6 /Lib/test/test_smtplib.py | |
parent | ec105ad47f83bf31797b2d14f5f951d1f9490414 (diff) | |
download | cpython-2532967122a54a6549238c799e01d5c18498279a.zip cpython-2532967122a54a6549238c799e01d5c18498279a.tar.gz cpython-2532967122a54a6549238c799e01d5c18498279a.tar.bz2 |
Merged revisions 66028 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66028 | neal.norwitz | 2008-08-24 20:52:40 -0700 (Sun, 24 Aug 2008) | 1 line
Try to reduce the flakiness of this test
........
Diffstat (limited to 'Lib/test/test_smtplib.py')
-rw-r--r-- | Lib/test/test_smtplib.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index 6a94658..55e30a8 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -220,6 +220,10 @@ class DebuggingServerTests(TestCase): m = 'A test message' smtp = smtplib.SMTP(HOST, self.port, local_hostname='localhost', timeout=3) smtp.sendmail('John', 'Sally', m) + # XXX(nnorwitz): this test is flaky and dies with a bad file descriptor + # in asyncore. This sleep might help, but should really be fixed + # properly by using an Event variable. + time.sleep(0.01) smtp.quit() self.client_evt.set() |