diff --git a/pasn1.py b/pasn1.py index 2c541be..915d948 100644 --- a/pasn1.py +++ b/pasn1.py @@ -482,7 +482,7 @@ def genfailures(obj): raise ValueError except (ValueError, KeyError, IndexError, TypeError): pass - else: + else: # pragma: no cover raise AssertionError('uncaught modification: %s, byte %d, orig: %02x' % (ts.encode('hex'), i, ord(s[i]))) class TestCode(unittest.TestCase):