Mercurial > hg-stable
changeset 37523:d17cfb23017c
py3: use '//' for integer division in tests/test-mq-qimport.t
Differential Revision: https://phab.mercurial-scm.org/D3217
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 10 Apr 2018 18:57:32 +0530 |
parents | 58230f4fcc0b |
children | 5d81f1b7051b |
files | tests/test-mq-qimport.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-mq-qimport.t Wed Apr 11 14:35:28 2018 +0530 +++ b/tests/test-mq-qimport.t Tue Apr 10 18:57:32 2018 +0530 @@ -7,7 +7,7 @@ > assert (len(args) % 2) == 0 > > f = open(path, 'wb') - > for i in range(len(args)/2): + > for i in range(len(args)//2): > count, s = args[2*i:2*i+2] > count = int(count) > s = s.decode('string_escape')