Try to fix test_plistlib so it uses bytes consistently in this call
This commit is contained in:
parent
152b3c2170
commit
eaa16f9737
|
@ -85,7 +85,7 @@ TESTDATA = b"""<?xml version="1.0" encoding="UTF-8"?>
|
|||
<string>That was a unicode key.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
""".replace(" " * 8, "\t") # Apple as well as plistlib.py output hard tabs
|
||||
""".replace(b" " * 8, b"\t") # Apple as well as plistlib.py output hard tabs
|
||||
|
||||
|
||||
class TestPlistlib(unittest.TestCase):
|
||||
|
|
Loading…
Reference in New Issue