mirror of https://github.com/scrapy/scrapy.git
Update another output line.
This commit is contained in:
parent
db5a73f7bb
commit
ebdea4037a
|
|
@ -5,7 +5,7 @@ from scrapy.http import HtmlResponse, Response, TextResponse
|
|||
|
||||
@pytest.mark.mypy_testing
|
||||
def mypy_test_headers():
|
||||
Response("data:,", headers=1) # E: Argument "headers" to "Response" has incompatible type "int"; expected "Mapping[str, Any] | Iterable[tuple[str, Any]] | None"
|
||||
Response("data:,", headers=1) # E: Argument "headers" to "Response" has incompatible type "int"; expected "Union[Mapping[str, Any], Iterable[Tuple[str, Any]], None]"
|
||||
Response("data:,", headers=None)
|
||||
Response("data:,", headers={})
|
||||
Response("data:,", headers=[])
|
||||
|
|
|
|||
Loading…
Reference in New Issue