summary refs log tree commit diff
path: root/tests/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server.py')
-rw-r--r--tests/server.py4
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