Old style exception --> new style exception

pull/3511/head
cclauss 7 years ago committed by GitHub
parent 5e39ecc569
commit 958412e2e6
  1. 2
      python/mox.py

@ -778,7 +778,7 @@ class Comparator:
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):
return self.equals(rhs)

Loading…
Cancel
Save