summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httpservers.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-02-08 12:49:55 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-02-08 12:49:55 (GMT)
commit528bed8e4a8827c2135c843caee2c824d51201c2 (patch)
tree762b59e967ffb85d4918b0afe50fcecd3aa3b364 /Lib/test/test_httpservers.py
parent708a5ea9648cab35597879c176a7366fd630c4db (diff)
downloadcpython-528bed8e4a8827c2135c843caee2c824d51201c2.zip
cpython-528bed8e4a8827c2135c843caee2c824d51201c2.tar.gz
cpython-528bed8e4a8827c2135c843caee2c824d51201c2.tar.bz2
Issue #20555: Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
Diffstat (limited to 'Lib/test/test_httpservers.py')
-rw-r--r--Lib/test/test_httpservers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py
index d0ebb28..359694a 100644
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -114,7 +114,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('GET / HTTP/1.1\r\n\r\n')