##// END OF EJS Templates
tests: drop some obsolete py2 handling in util.py doctest...
Matt Harbison -
r50708:54114bba default
parent child Browse files
Show More
@@ -3213,10 +3213,7 b' def uvarintdecodestream(fh):'
3213
3213
3214 The passed argument is anything that has a ``.read(N)`` method.
3214 The passed argument is anything that has a ``.read(N)`` method.
3215
3215
3216 >>> try:
3216 >>> from io import BytesIO
3217 ... from StringIO import StringIO as BytesIO
3218 ... except ImportError:
3219 ... from io import BytesIO
3220 >>> uvarintdecodestream(BytesIO(b'\\x00'))
3217 >>> uvarintdecodestream(BytesIO(b'\\x00'))
3221 0
3218 0
3222 >>> uvarintdecodestream(BytesIO(b'\\x01'))
3219 >>> uvarintdecodestream(BytesIO(b'\\x01'))
General Comments 0
You need to be logged in to leave comments. Login now