test_encodingutil: use self.patch rather than modifying encodingutil.io_encoding...
authorDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 20:34:41 +0000 (20:34 +0000)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 28 Dec 2015 20:52:51 +0000 (20:52 +0000)
commit1f7069e622844e5404b3b33c9897e147a95c637f
tree597cfd637a943a5409e8688127657b617d48cdbc
parent394a4e25e64e0744ddcaf3dbd15ad5238e2b8047
test_encodingutil: use self.patch rather than modifying encodingutil.io_encoding directly.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
src/allmydata/test/test_encodingutil.py