Patchwork [01,of,10] tests: update test-largefiles-wireproto to pass our import checker

login
register
mail settings
Submitter Augie Fackler
Date Aug. 28, 2017, 2:55 p.m.
Message ID <8108120d81448c42f572.1503932152@augie-macbookpro2.roam.corp.google.com>
Download mbox | patch
Permalink /patch/23412/
State Accepted
Headers show

Comments

Augie Fackler - Aug. 28, 2017, 2:55 p.m.
# HG changeset patch
# User Augie Fackler <raf@durin42.com>
# Date 1503435487 14400
#      Tue Aug 22 16:58:07 2017 -0400
# Node ID 8108120d81448c42f5727d74d692b5c922a402ad
# Parent  99113426105723c0d1573f87b3c02db9d9582b95
tests: update test-largefiles-wireproto to pass our import checker
Yuya Nishihara - Aug. 28, 2017, 3:12 p.m.
On Mon, 28 Aug 2017 10:55:52 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf@durin42.com>
> # Date 1503435487 14400
> #      Tue Aug 22 16:58:07 2017 -0400
> # Node ID 8108120d81448c42f5727d74d692b5c922a402ad
> # Parent  99113426105723c0d1573f87b3c02db9d9582b95
> tests: update test-largefiles-wireproto to pass our import checker

Queued, thanks.

Patch

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())