# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1523366852 -19800 # Node ID d17cfb23017ce9eb4bb3980e3815f84f73a89264 # Parent 58230f4fcc0b4543710dad9bec03322e22d00c74 py3: use '//' for integer division in tests/test-mq-qimport.t Differential Revision: https://phab.mercurial-scm.org/D3217 diff -r 58230f4fcc0b -r d17cfb23017c tests/test-mq-qimport.t --- 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')