Browse Source

mark this block as not coverage as it won't even in

unit tests..
python2
John-Mark Gurney 7 years ago
parent
commit
215d0b797b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pasn1.py

+ 1
- 1
pasn1.py View File

@@ -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):


Loading…
Cancel
Save