Commit 958412e2 authored by cclauss's avatar cclauss Committed by GitHub

Old style exception --> new style exception

parent 5e39ecc5
...@@ -778,7 +778,7 @@ class Comparator: ...@@ -778,7 +778,7 @@ class Comparator:
rhs: any python object rhs: any python object
""" """
raise NotImplementedError, 'method must be implemented by a subclass.' raise NotImplementedError('method must be implemented by a subclass.')
def __eq__(self, rhs): def __eq__(self, rhs):
return self.equals(rhs) return self.equals(rhs)
......
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