diff Lib/test/test_httpservers.py @ 47635:f31e32a2013c

Patch for issue 2848, mostly by Humberto Diogenes, with a couple of small fixes by Barry. This removes mimetools from the stdlib.
author Barry Warsaw <barry@python.org>
date Thu, 12 Jun 2008 04:06:45 +0000
parents e1fcc3881cb6
children 5a416a6417d3
line wrap: on
line diff
--- a/Lib/test/test_httpservers.py	Thu Jun 12 03:10:02 2008 +0000
+++ b/Lib/test/test_httpservers.py	Thu Jun 12 04:06:45 2008 +0000
@@ -19,12 +19,14 @@
 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):