tests/test-largefiles-wireproto.t
changeset 39951 a339b5e0d7c6
parent 39835 91d63fd58e7d
child 40871 1aedbf3ef3d1
--- a/tests/test-largefiles-wireproto.t	Mon Oct 01 23:07:19 2018 -0400
+++ b/tests/test-largefiles-wireproto.t	Mon Oct 01 23:26:24 2018 -0400
@@ -243,7 +243,7 @@
   >>> 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())
+  ...     f.write(urllib2.urlopen(u).read()) and None
   $ unzip -t archive.zip
   Archive:  archive.zip
       testing: empty-default/.hg_archival.txt*OK (glob)