##// END OF EJS Templates
tests: update test-largefiles-wireproto to pass our import checker
Augie Fackler -
r33965:9a0f33f4 default
parent child Browse files
Show More
@@ -226,7 +226,8 b' Clone over http, no largefiles pulled on'
226 added 1 changesets with 1 changes to 1 files
226 added 1 changesets with 1 changes to 1 files
227
227
228 Archive contains largefiles
228 Archive contains largefiles
229 >>> import urllib2, os
229 >>> import os
230 >>> import urllib2
230 >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2']
231 >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2']
231 >>> with open('archive.zip', 'w') as f:
232 >>> with open('archive.zip', 'w') as f:
232 ... f.write(urllib2.urlopen(u).read())
233 ... f.write(urllib2.urlopen(u).read())
General Comments 0
You need to be logged in to leave comments. Login now