Add mappings for caret and tilde characters

This commit is contained in:
Andrew Kay
2019-07-01 22:07:43 -05:00
parent f9ea0353fe
commit f2794ef5d6
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ class EncodeAsciiCharacterTestCase(unittest.TestCase):
self.assertEqual(encode_ascii_character(ord('a')), 0x80)
def test_unmapped_character(self):
self.assertEqual(encode_ascii_character(ord('^')), 0x00)
self.assertEqual(encode_ascii_character(ord('`')), 0x00)
def test_out_of_range(self):
self.assertEqual(encode_ascii_character(ord('')), 0x00)