mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Try to fix test_plistlib so it uses bytes consistently in this call
This commit is contained in:
parent
152b3c2170
commit
eaa16f9737
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ TESTDATA = b"""<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<string>That was a unicode key.</string>
|
<string>That was a unicode key.</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</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):
|
class TestPlistlib(unittest.TestCase):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue