fix return type get_extra_info in FakeWriter

This commit is contained in:
Stefan Allius
2024-12-22 02:51:21 +01:00
parent 7878c54ecc
commit ef3ed5d287
3 changed files with 5 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ class FakeWriter():
return
def get_extra_info(self, sel: str):
if sel == 'peername':
return 'remote.intern'
return ('47.1.2.3', 10000)
elif sel == 'sockname':
return 'sock:1234'
assert False