mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
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:
parent
a4c433988e
commit
7943c9a7fd
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user