diff options
-rw-r--r-- | tests/server.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server.py b/tests/server.py index c447d5e4c4..d2eeee4d9f 100644 --- a/tests/server.py +++ b/tests/server.py @@ -165,7 +165,9 @@ class FakeChannel: h.addRawHeader(*i) return h - def writeHeaders(self, version, code, reason, headers): + def writeHeaders( + self, version: bytes, code: bytes, reason: bytes, headers: Headers + ) -> None: self.result["version"] = version self.result["code"] = code self.result["reason"] = reason |