File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def _matches_structure(number, structure):
7272 elif code == 'a' and not number [start :start + length ].isalpha ():
7373 return False
7474 elif code == 'c' and not number [start :start + length ].isalnum ():
75- return False # should not happen due to checksum check
75+ return False # pragma: no cover ( due to checksum check)
7676 start += length
7777 # the whole number should be parsed now
7878 return start == len (number )
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def _parse(fp):
132132 for line in fp :
133133 # ignore comments
134134 if line [0 ] == '#' or line .strip () == '' :
135- continue
135+ continue # pragma: no cover (optimisation takes it out)
136136 # any other line should parse
137137 match = _line_re .search (line )
138138 indent = len (match .group ('indent' ))
You can’t perform that action at this time.
0 commit comments