tests: fix test-lfs.t in python3

Summary:
The write method returns the number of bytes written, and python3 print these
if not captured.

Reviewed By: quark-zju

Differential Revision: D22096665

fbshipit-source-id: 2b1abd994df4c705515a6dc3d01c720f056f0411
This commit is contained in:
Xavier Deguillard 2020-06-18 18:48:34 -07:00 committed by Facebook GitHub Bot
parent a4c433988e
commit 7943c9a7fd

View File

@ -247,9 +247,9 @@
$ hg commit -m b
$ hg status
>>> with open('a2', 'wb') as f:
... f.write(b'\1\nSTART-WITH-HG-FILELOG-METADATA')
... _ = f.write(b'\1\nSTART-WITH-HG-FILELOG-METADATA')
>>> with open('a1', 'wb') as f:
... f.write(b'\1\nMETA\n')
... _ = f.write(b'\1\nMETA\n')
$ hg commit -m meta
$ hg status
$ hg log -T '{rev}: {file_copies} | {file_dels} | {file_adds}\n'