Mercurial > hg
diff tests/test-encoding.t @ 36432:1ca4e86c7265
util: handle fileno() on Python 3 throwing io.UnsupportedOperation
Fortunately, the exception exists on Python 2 so we don't have to do
something weirder than this.
Differential Revision: https://phab.mercurial-scm.org/D2450
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 26 Feb 2018 00:51:41 -0500 |
parents | 035af48b2903 |
children | 89630d0b3e23 |