Commit 2dd03342 authored by Denis Bilenko's avatar Denis Bilenko

greentest: add ExpectedException class

parent e29593a2
......@@ -254,3 +254,6 @@ class GenericGetTestCase(TestCase):
delay = time.time() - start
assert 0.01 - 0.001 <= delay < 0.01 + 0.01 + 0.1, delay
class ExpectedException(Exception):
"""An exception whose traceback should be ignored"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment