tests/test-hardlinks.t
changeset 38086 b95a6fb7ae66
parent 37415 c2c8962a9465
child 38781 0a57945aaf7f
--- a/tests/test-hardlinks.t	Sat May 19 18:51:14 2018 +0530
+++ b/tests/test-hardlinks.t	Sat May 19 18:52:56 2018 +0530
@@ -122,7 +122,7 @@
   $ cd r3/d1
   >>> f = open('data1', 'wb')
   >>> for x in range(10000):
-  ...     f.write("%s\n" % str(x))
+  ...     f.write(b"%d\n" % x) and None
   >>> f.close()
   $ for j in 0 1 2 3 4 5 6 7 8 9; do
   >   cat data1 >> f2