From b2cf3ef9bf8d33317eea040ca0c236e7c285a93c Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sat, 13 Feb 2016 10:13:34 -0800 Subject: [PATCH] add a long string for testing.. [git-p4: depot-paths = "//depot/python/pypasn1/main/": change = 1820] --- pasn1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pasn1.py b/pasn1.py index 8c1111a..6e198f5 100644 --- a/pasn1.py +++ b/pasn1.py @@ -333,6 +333,7 @@ class TestCode(unittest.TestCase): for s, v in [ ('\x02\x03$\x8a\xf9', 2394873), ('\x05\x00', None), ('\x02\x03\x00\x96I', 38473), + ('\x04\x81\xc8' + '\x00' * 200, '\x00' * 200), ]: self.assertEqual(loads(s), v)