mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
This commit is contained in:
commit
d3e1207191
8 changed files with 27 additions and 26 deletions
|
@ -552,7 +552,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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue