summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_noerror_exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/test/input/func_noerror_exception.py')
-rw-r--r--pylint/test/input/func_noerror_exception.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/pylint/test/input/func_noerror_exception.py b/pylint/test/input/func_noerror_exception.py
new file mode 100644
index 0000000..1c3d8b5
--- /dev/null
+++ b/pylint/test/input/func_noerror_exception.py
@@ -0,0 +1,7 @@
+""" module doc """
+__revision__ = ''
+
+class MyException(Exception):
+ """a custom exception with its *own* __init__ !!"""
+ def __init__(self, msg):
+ Exception.__init__(self, msg)