tests/test-notify.t
changeset 36394 4bc983568016
parent 35393 4441705b7111
child 37777 a4cac7b0ea4f
--- a/tests/test-notify.t	Sat Feb 24 16:06:21 2018 +0530
+++ b/tests/test-notify.t	Sat Feb 24 16:07:45 2018 +0530
@@ -421,7 +421,7 @@
   > test = False
   > mbox = mbox
   > EOF
-  $ $PYTHON -c 'file("a/a", "ab").write("no" * 500 + "\xd1\x84" + "\n")'
+  $ $PYTHON -c 'open("a/a", "ab").write("no" * 500 + "\xd1\x84" + "\n")'
   $ hg --cwd a commit -A -m "long line"
   $ hg --traceback --cwd b pull ../a
   pulling from ../a