##// END OF EJS Templates
py3: suppress output from f.write() function class...
Pulkit Goyal -
r37387:22f19da5 default
parent child Browse files
Show More
@@ -394,33 +394,33 b' be broken up'
394 $ cd longfunc
394 $ cd longfunc
395
395
396 >>> with open('a', 'wb') as f:
396 >>> with open('a', 'wb') as f:
397 ... f.write(b'a' * 39 + b'bb' + b'\n')
397 ... f.write(b'a' * 39 + b'bb' + b'\n') and None
398 ... f.write(b' .\n' * 3)
398 ... f.write(b' .\n' * 3) and None
399 ... f.write(b' 0 b\n')
399 ... f.write(b' 0 b\n') and None
400 ... f.write(b' .\n' * 3)
400 ... f.write(b' .\n' * 3) and None
401 ... f.write(b'a' * 39 + b'\xc3\xa0' + b'\n')
401 ... f.write(b'a' * 39 + b'\xc3\xa0' + b'\n') and None
402 ... f.write(b' .\n' * 3)
402 ... f.write(b' .\n' * 3) and None
403 ... f.write(b' 0 a with grave (single code point)\n')
403 ... f.write(b' 0 a with grave (single code point)\n') and None
404 ... f.write(b' .\n' * 3)
404 ... f.write(b' .\n' * 3) and None
405 ... f.write(b'a' * 39 + b'a\xcc\x80' + b'\n')
405 ... f.write(b'a' * 39 + b'a\xcc\x80' + b'\n') and None
406 ... f.write(b' .\n' * 3)
406 ... f.write(b' .\n' * 3) and None
407 ... f.write(b' 0 a with grave (composition)\n')
407 ... f.write(b' 0 a with grave (composition)\n') and None
408 ... f.write(b' .\n' * 3)
408 ... f.write(b' .\n' * 3) and None
409 $ hg ci -qAm0
409 $ hg ci -qAm0
410
410
411 >>> with open('a', 'wb') as f:
411 >>> with open('a', 'wb') as f:
412 ... f.write(b'a' * 39 + b'bb' + b'\n')
412 ... f.write(b'a' * 39 + b'bb' + b'\n') and None
413 ... f.write(b' .\n' * 3)
413 ... f.write(b' .\n' * 3) and None
414 ... f.write(b' 1 b\n')
414 ... f.write(b' 1 b\n') and None
415 ... f.write(b' .\n' * 3)
415 ... f.write(b' .\n' * 3) and None
416 ... f.write(b'a' * 39 + b'\xc3\xa0' + b'\n')
416 ... f.write(b'a' * 39 + b'\xc3\xa0' + b'\n') and None
417 ... f.write(b' .\n' * 3)
417 ... f.write(b' .\n' * 3) and None
418 ... f.write(b' 1 a with grave (single code point)\n')
418 ... f.write(b' 1 a with grave (single code point)\n') and None
419 ... f.write(b' .\n' * 3)
419 ... f.write(b' .\n' * 3) and None
420 ... f.write(b'a' * 39 + b'a\xcc\x80' + b'\n')
420 ... f.write(b'a' * 39 + b'a\xcc\x80' + b'\n') and None
421 ... f.write(b' .\n' * 3)
421 ... f.write(b' .\n' * 3) and None
422 ... f.write(b' 1 a with grave (composition)\n')
422 ... f.write(b' 1 a with grave (composition)\n') and None
423 ... f.write(b' .\n' * 3)
423 ... f.write(b' .\n' * 3) and None
424 $ hg ci -m1
424 $ hg ci -m1
425
425
426 $ hg diff -c1 --nodates --show-function
426 $ hg diff -c1 --nodates --show-function
General Comments 0
You need to be logged in to leave comments. Login now