aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jie Luo <anandolee@gmail.com>2017-08-17 13:51:22 -0700
committerGravatar GitHub <noreply@github.com>2017-08-17 13:51:22 -0700
commit5ab8ae75668d38db44e8d23437170f8f108a7581 (patch)
tree7a6901ad0e9295ccf7be5f1b83ad3016e157f9c6
parent5e39ecc569153db63bc4e1587f703c7894223375 (diff)
parent958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4 (diff)
Merge pull request #3511 from cclauss/patch-3
Old style exception --> new style exception
-rwxr-xr-xpython/mox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mox.py b/python/mox.py
index 257468e5..43db0219 100755
--- a/python/mox.py
+++ b/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)