Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.

This commit is contained in:
Serhiy Storchaka 2014-02-08 14:50:08 +02:00
parent 3a20a5dead
commit 25d8aeac7c
8 changed files with 27 additions and 26 deletions

View file

@ -531,7 +531,7 @@ class BaseHTTPRequestHandlerTestCase(unittest.TestCase):
def verify_http_server_response(self, response):
match = self.HTTPResponseMatch.search(response)
self.assertTrue(match is not None)
self.assertIsNotNone(match)
def test_http_1_1(self):
result = self.send_typical_request(b'GET / HTTP/1.1\r\n\r\n')