##// END OF EJS Templates
posix: fix HFS+ normcase doctest to produce valid bytes literals in Python 3...
Augie Fackler -
r34196:90b0e163 default
parent child Browse files
Show More
@@ -344,11 +344,11 b" if pycompat.sysplatform == 'darwin':"
344
344
345 >>> normcase(b'UPPER')
345 >>> normcase(b'UPPER')
346 'upper'
346 'upper'
347 >>> normcase(b'Caf\xc3\xa9')
347 >>> normcase(b'Caf\\xc3\\xa9')
348 'cafe\\xcc\\x81'
348 'cafe\\xcc\\x81'
349 >>> normcase(b'\xc3\x89')
349 >>> normcase(b'\\xc3\\x89')
350 'e\\xcc\\x81'
350 'e\\xcc\\x81'
351 >>> normcase(b'\xb8\xca\xc3\xca\xbe\xc8.JPG') # issue3918
351 >>> normcase(b'\\xb8\\xca\\xc3\\xca\\xbe\\xc8.JPG') # issue3918
352 '%b8%ca%c3\\xca\\xbe%c8.jpg'
352 '%b8%ca%c3\\xca\\xbe%c8.jpg'
353 '''
353 '''
354
354
General Comments 0
You need to be logged in to leave comments. Login now