coverage: no cover (for failed except)

pull/830/head
sebres 2014-10-24 05:28:35 +02:00
parent 0b0ea41f87
commit bef0502e6b
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ class FilterReaderTest(unittest.TestCase):
# from testcase01
filterReader.get('Definition', 'failregex')
filterReader.get('Definition', 'ignoreregex')
except Exception, e:
except Exception, e: # pragma: no cover - failed if reachable
self.fail('unexpected options after readexplicit: %s' % (e))
class JailsReaderTestCache(LogCaptureTestCase):