D2120: py3: replace file() with open() in test-mq-qimport.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Feb 11 14:04:49 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG85c94c9d342b: py3: replace file() with open() in test-mq-qimport.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2120?vs=5383&id=5409
REVISION DETAIL
https://phab.mercurial-scm.org/D2120
AFFECTED FILES
tests/test-mq-qimport.t
CHANGE DETAILS
diff --git a/tests/test-mq-qimport.t b/tests/test-mq-qimport.t
--- a/tests/test-mq-qimport.t
+++ b/tests/test-mq-qimport.t
@@ -6,7 +6,7 @@
> args = sys.argv[2:]
> assert (len(args) % 2) == 0
>
- > f = file(path, 'wb')
+ > f = open(path, 'wb')
> for i in xrange(len(args)/2):
> count, s = args[2*i:2*i+2]
> count = int(count)
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list