We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5abdc32 commit 232902cCopy full SHA for 232902c
tests/llsd_test.py
@@ -513,6 +513,11 @@ def testParseNotationUnterminatedString(self):
513
"""
514
self.assertRaises(llsd.LLSDParseError, self.llsd.parse, b"'foo")
515
516
+ def testParseNotationTruncatedHex(self):
517
+ self.assertRaises(llsd.LLSDParseError, self.llsd.parse, b"'\\xf")
518
+
519
+ def testParseNotationInvalidHex(self):
520
+ self.assertRaises(llsd.LLSDParseError, self.llsd.parse, b"'\\xzz'")
521
522
class LLSDBinaryUnitTest(unittest.TestCase):
523
0 commit comments