tests/test-extdiff.t
changeset 36029 d83fc41dabf3
parent 33613 3b77d4787c18
child 36268 be5a6fe3643a
--- a/tests/test-extdiff.t	Sun Feb 11 17:12:28 2018 +0530
+++ b/tests/test-extdiff.t	Sun Feb 11 17:13:11 2018 +0530
@@ -252,8 +252,8 @@
   > #!$PYTHON
   > import time
   > time.sleep(1) # avoid unchanged-timestamp problems
-  > file('a/a', 'ab').write('edited\n')
-  > file('a/b', 'ab').write('edited\n')
+  > open('a/a', 'ab').write(b'edited\n')
+  > open('a/b', 'ab').write(b'edited\n')
   > EOT
 
 #if execbit