update mypy to 0.750 (#204)
This commit is contained in:
parent
6f4fe34d65
commit
dc1d5b68e7
|
@ -4,6 +4,6 @@ flake8==3.7.9
|
|||
pytest==5.3.1
|
||||
pytest-cov==2.8.1
|
||||
autopep8==1.4.4
|
||||
mypy==0.740
|
||||
mypy==0.750
|
||||
py-spy==0.3.0
|
||||
codecov==2.0.15
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
:license: BSD, see LICENSE for more details.
|
||||
"""
|
||||
import unittest
|
||||
from typing import Dict, Tuple
|
||||
|
||||
from proxy.common.constants import CRLF
|
||||
from proxy.common.utils import build_http_request, find_http_line, build_http_response, build_http_header, bytes_
|
||||
|
@ -514,8 +513,3 @@ class TestHttpParser(unittest.TestCase):
|
|||
httpMethods.GET, b'/', protocol_version=b'HTTP/1.0',
|
||||
))
|
||||
self.assertFalse(self.parser.is_http_1_1_keep_alive())
|
||||
|
||||
def assertDictContainsSubset(self, subset: Dict[bytes, Tuple[bytes, bytes]],
|
||||
dictionary: Dict[bytes, Tuple[bytes, bytes]]) -> None:
|
||||
for k in subset.keys():
|
||||
self.assertTrue(k in dictionary)
|
||||
|
|
Loading…
Reference in New Issue