summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipalib/errors.py2
-rw-r--r--tests/test_ipalib/test_errors.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 36df0690e..9c40981ff 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -89,7 +89,7 @@ def check_isinstance(value, type_, name, allow_none=False):
return value
-class IPAError(Exception):
+class IPAError(StandardError):
"""
Base class for all custom IPA errors.
diff --git a/tests/test_ipalib/test_errors.py b/tests/test_ipalib/test_errors.py
index b72d6e028..f1dd5dc8e 100644
--- a/tests/test_ipalib/test_errors.py
+++ b/tests/test_ipalib/test_errors.py
@@ -141,7 +141,7 @@ class test_IPAError(ClassChecker):
"""
Test the `ipalib.errors.IPAError` exception.
"""
- assert self.cls.__bases__ == (Exception,)
+ assert self.cls.__bases__ == (StandardError,)
def test_init(self):
"""