diff hgweb.cgi @ 49307:4554e2e965e2

tests: assume that `raw` attribute is present on original socket file object It seems like the original socket file object is always an io.BufferedIO instance. If not, the code will fail and we should try harder to get the socket object (e.g. if the original socket file object is unbuffered, we can get the `_sock` attribute directly from it).
author Manuel Jacob <me@manueljacob.de>
date Tue, 31 May 2022 02:47:22 +0200
parents c102b704edb5
children d5cd1fd690f3
line wrap: on
line diff