[Python-checkins] cpython: Fix typo in test name

berker.peksag python-checkins at python.org
Wed Aug 24 18:12:25 EDT 2016


https://hg.python.org/cpython/rev/2592b3c3f10d
changeset:   102898:2592b3c3f10d
user:        Berker Peksag <berker.peksag at gmail.com>
date:        Thu Aug 25 01:13:34 2016 +0300
summary:
  Fix typo in test name

Noticed by Xiang Zhang.

files:
  Lib/test/test_httpservers.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_httpservers.py b/Lib/test/test_httpservers.py
--- a/Lib/test/test_httpservers.py
+++ b/Lib/test/test_httpservers.py
@@ -190,7 +190,7 @@
         res = self.con.getresponse()
         self.assertEqual(res.status, HTTPStatus.NOT_IMPLEMENTED)
 
-    def test_head_keep_alive(self):
+    def test_header_keep_alive(self):
         self.con._http_vsn_str = 'HTTP/1.1'
         self.con.putrequest('GET', '/')
         self.con.putheader('Connection', 'keep-alive')

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list