mirror of
https://github.com/python/cpython.git
synced 2025-08-29 13:15:11 +00:00
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
This commit is contained in:
parent
75f25f2c9a
commit
820c120059
23 changed files with 146 additions and 202 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue