# HG changeset patch # User Matt Harbison # Date 1510639788 18000 # 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 -r 07e97998d385 -r eb4241f914a3 tests/test-lfs.t --- a/tests/test-lfs.t Tue Nov 14 01:03:22 2017 -0500 +++ b/tests/test-lfs.t Tue Nov 14 01:09:48 2017 -0500 @@ -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))