# HG changeset patch # User Augie Fackler # Date 2017-08-22 20:58:07 # Node ID 9a0f33f497cd1e3cb736b4444ab9ffebd682c0ed # Parent 99113426105723c0d1573f87b3c02db9d9582b95 tests: update test-largefiles-wireproto to pass our import checker diff --git a/tests/test-largefiles-wireproto.t b/tests/test-largefiles-wireproto.t --- a/tests/test-largefiles-wireproto.t +++ b/tests/test-largefiles-wireproto.t @@ -226,7 +226,8 @@ Clone over http, no largefiles pulled on added 1 changesets with 1 changes to 1 files Archive contains largefiles - >>> import urllib2, os + >>> import os + >>> import urllib2 >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2'] >>> with open('archive.zip', 'w') as f: ... f.write(urllib2.urlopen(u).read())