Merge pull request #22 from jpic/dead_code

Remove unused method
This commit is contained in:
Andrew Godwin 2016-06-16 11:35:53 +01:00 committed by GitHub
commit cbf12cabdc

View File

@ -19,10 +19,6 @@ class TestHTTPProtocol(TestCase):
self.tr = proto_helpers.StringTransport()
self.proto.makeConnection(self.tr)
def assertStartsWith(self, data, prefix):
real_prefix = data[:len(prefix)]
self.assertEqual(real_prefix, prefix)
def test_basic(self):
"""
Tests basic HTTP parsing