Commit af716460 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

exceptions must be classes or instances, not NotImplementedType.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30528 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ef035a4
No related merge requests found
......@@ -404,7 +404,7 @@ class IntrospectionTool(LogMixin, BaseTool):
# XXX (rafael) it better use (and extend if needed) the portal_subversions.
if self.getSystemSignatureDict()["pysvn"] is None:
raise
raise NotImplemented
raise NotImplementedError
#
# Library signature
......
......@@ -682,7 +682,7 @@ class TestCalendar(ERP5ReportTestCase):
Test getCapacityAvailability
"""
if not run: return
raise NotImplemented
raise NotImplementedError
# Test that calendar group increase time availability
sequence_list = SequenceList()
......
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