_dis_test should be a raw string now that it contains \x escapes.
This commit is contained in:
parent
d0f7c86a20
commit
03e35327f2
|
@ -1899,7 +1899,7 @@ def dis(pickle, out=None, indentlevel=4):
|
||||||
markstack.append(pos)
|
markstack.append(pos)
|
||||||
|
|
||||||
|
|
||||||
_dis_test = """
|
_dis_test = r"""
|
||||||
>>> import pickle
|
>>> import pickle
|
||||||
>>> x = [1, 2, (3, 4), {'abc': u"def"}]
|
>>> x = [1, 2, (3, 4), {'abc': u"def"}]
|
||||||
>>> pkl = pickle.dumps(x, 0)
|
>>> pkl = pickle.dumps(x, 0)
|
||||||
|
|
Loading…
Reference in New Issue