Mercurial > hg
changeset 43007:f1dffb37f27c
tests: suppress output from write()
Otherwise it is printed and the test fails with tons of output on
Python 3.
Differential Revision: https://phab.mercurial-scm.org/D6918
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 29 Sep 2019 12:19:45 -0700 |
parents | d6f34ceb08db |
children | 5f8b6617e962 |
files | tests/test-upgrade-repo.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-upgrade-repo.t Sun Sep 29 12:04:43 2019 -0700 +++ b/tests/test-upgrade-repo.t Sun Sep 29 12:19:45 2019 -0700 @@ -390,7 +390,7 @@ >>> random.seed(0) # have a reproducible content >>> with open("f2", "w") as f: ... for i in range(100000): - ... f.write("%d\n" % random.randint(1000000000, 9999999999)) + ... f.write("%d\n" % random.randint(1000000000, 9999999999)) and None $ hg -q commit -A -m 'add f2' make sure we have a .d file