diff options
Diffstat (limited to 'lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/test/raiser.pyx')
-rw-r--r-- | lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/test/raiser.pyx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/test/raiser.pyx b/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/test/raiser.pyx deleted file mode 100644 index 820540ec..00000000 --- a/lib/python2.7/site-packages/Twisted-12.2.0-py2.7-linux-x86_64.egg/twisted/test/raiser.pyx +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright (c) Twisted Matrix Laboratories. -# See LICENSE for details. - -""" -A trivial extension that just raises an exception. -See L{twisted.test.test_failure.test_failureConstructionWithMungedStackSucceeds}. -""" - - - -class RaiserException(Exception): - """ - A speficic exception only used to be identified in tests. - """ - - -def raiseException(): - """ - Raise L{RaiserException}. - """ - raise RaiserException("This function is intentionally broken") |