update mypy to 0.750 (#204)

This commit is contained in:
Abhinav Singh 2019-11-30 19:53:13 -08:00 committed by GitHub
parent 6f4fe34d65
commit dc1d5b68e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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)