# HG changeset patch # User Matt Harbison # Date 2017-11-14 06:09:48 # Node ID eb4241f914a333cbc90804698d64a4a94c1c40e9 # Parent 07e97998d385a304a3e02ff049471cb212cceec3 test-lfs: cast the flags printed to an int On Windows, the flag values in the subsequent tests were printing with a 'L' suffix. diff --git a/tests/test-lfs.t b/tests/test-lfs.t --- a/tests/test-lfs.t +++ b/tests/test-lfs.t @@ -514,7 +514,7 @@ > continue > sizes = [revlog.revlog.rawsize(fl, i) for i in fl] > texts = [fl.revision(i, raw=True) for i in fl] - > flags = [fl.flags(i) for i in fl] + > flags = [int(fl.flags(i)) for i in fl] > hashes = [hash(t) for t in texts] > print(' %s: rawsizes=%r flags=%r hashes=%r' > % (name, sizes, flags, hashes))