# This test makes sure that BaseTools rejects these characters\r
# if seen in a .uni file.\r
#\r
- data = codecs.BOM_UTF16_LE + b'//\x01\xd8 '\r
+ data = codecs.BOM_UTF16_LE + '//\x01\xd8 '\r
\r
self.CheckFile(encoding=None, shouldPass=False, string=data)\r
\r
# This test makes sure that BaseTools rejects these characters\r
# if seen in a .uni file.\r
#\r
- data = b'\xed\xa0\x81'\r
+ data = '\xed\xa0\x81'\r
\r
self.CheckFile(encoding=None, shouldPass=False, string=data)\r
\r
# Same test as testSurrogatePairUnicodeCharInUtf8File, but add\r
# the UTF-8 BOM\r
#\r
- data = codecs.BOM_UTF8 + b'\xed\xa0\x81'\r
+ data = codecs.BOM_UTF8 + '\xed\xa0\x81'\r
\r
self.CheckFile(encoding=None, shouldPass=False, string=data)\r
\r