# HG changeset patch # User Pulkit Goyal <7895pulkit@gmail.com> # Date 2018-02-23 19:52:15 # Node ID 34afe92e37199a647ed36992c513edc10685fbad # Parent 469c7e146c8f72a1ae5125caed777db6d1ba8c5a py3: use '//' for integer divisions Differential Revision: https://phab.mercurial-scm.org/D2413 diff --git a/tests/test-mq-missingfiles.t b/tests/test-mq-missingfiles.t --- a/tests/test-mq-missingfiles.t +++ b/tests/test-mq-missingfiles.t @@ -10,7 +10,7 @@ future qrefresh. > 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')