##// END OF EJS Templates
py3: adapt test-largefiles-wireproto.t to python3
Matt Harbison -
r40906:1aedbf3e default
parent child Browse files
Show More
@@ -305,6 +305,7 b' test-largefiles-cache.t'
305 305 test-largefiles-misc.t
306 306 test-largefiles-small-disk.t
307 307 test-largefiles-update.t
308 test-largefiles-wireproto.t
308 309 test-largefiles.t
309 310 test-lfconvert.t
310 311 test-lfs-bundle.t
@@ -240,10 +240,10 b' Clone over http, no largefiles pulled on'
240 240
241 241 Archive contains largefiles
242 242 >>> import os
243 >>> import urllib2
243 >>> from mercurial import urllibcompat
244 244 >>> u = 'http://localhost:%s/archive/default.zip' % os.environ['HGPORT2']
245 >>> with open('archive.zip', 'w') as f:
246 ... f.write(urllib2.urlopen(u).read()) and None
245 >>> with open('archive.zip', 'wb') as f:
246 ... f.write(urllibcompat.urlreq.urlopen(u).read()) and None
247 247 $ unzip -t archive.zip
248 248 Archive: archive.zip
249 249 testing: empty-default/.hg_archival.txt*OK (glob)
General Comments 0
You need to be logged in to leave comments. Login now