tests/test-import-git.t
changeset 38080 0a10f142299d
parent 36025 32695e525586
child 39405 cb70501d8b71
--- a/tests/test-import-git.t	Sat May 19 18:42:18 2018 +0530
+++ b/tests/test-import-git.t	Sat May 19 18:43:13 2018 +0530
@@ -566,7 +566,7 @@
   >>> fp = open('binary.diff', 'rb')
   >>> data = fp.read()
   >>> fp.close()
-  >>> open('binary.diff', 'wb').write(data.replace(b'\n', b'\r\n'))
+  >>> open('binary.diff', 'wb').write(data.replace(b'\n', b'\r\n')) and None
   $ rm binary2
   $ hg import --no-commit binary.diff
   applying binary.diff