]> granicus.if.org Git - python/commitdiff
Try to fix test_plistlib so it uses bytes consistently in this call
authorNeal Norwitz <nnorwitz@gmail.com>
Thu, 30 Aug 2007 06:37:08 +0000 (06:37 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Thu, 30 Aug 2007 06:37:08 +0000 (06:37 +0000)
Lib/test/test_plistlib.py

index 4ef3ea692803ec454ede1514b088754b05cd5715..5c6a059015165b76a6012458571dfca577dccb60 100644 (file)
@@ -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):