diff hgext/factotum.py @ 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 6000f5b25c9b
children 18c8c18993f0
line wrap: on
line diff