diff options
author | Barry Warsaw <barry@python.org> | 2008-06-12 04:06:45 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2008-06-12 04:06:45 +0000 |
commit | 820c1200597606f95bb996586be88a3283c6448c (patch) | |
tree | 1b914ab96ccc9cd81465a6c3e765c97f128fd464 /Lib/test/test_httpservers.py | |
parent | 75f25f2c9a4646746efbc056b4d2a07b40f93964 (diff) | |
download | cpython-git-820c1200597606f95bb996586be88a3283c6448c.tar.gz |
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
Diffstat (limited to 'Lib/test/test_httpservers.py')
-rw-r--r-- | Lib/test/test_httpservers.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py index 02be57a3b2..94c6a3d121 100644 --- a/Lib/test/test_httpservers.py +++ b/Lib/test/test_httpservers.py @@ -19,12 +19,14 @@ import threading import unittest from test import support - class NoLogRequestHandler: def log_message(self, *args): # don't write log messages to stderr pass + def read(self, n=None): + return '' + class TestServerThread(threading.Thread): def __init__(self, test_object, request_handler): |