# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 1519415535 -19800 # Node ID 34afe92e37199a647ed36992c513edc10685fbad # Parent 469c7e146c8f72a1ae5125caed777db6d1ba8c5a py3: use '//' for integer divisions Differential Revision: https://phab.mercurial-scm.org/D2413 diff -r 469c7e146c8f -r 34afe92e3719 tests/test-mq-missingfiles.t --- a/tests/test-mq-missingfiles.t Sat Feb 24 01:21:22 2018 +0530 +++ b/tests/test-mq-missingfiles.t Sat Feb 24 01:22:15 2018 +0530 @@ -10,7 +10,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')