Merge pull request #3511 from cclauss/patch-3

Old style exception --> new style exception
pull/3517/head
Jie Luo 8 years ago committed by GitHub
commit 5ab8ae7566
  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