aboutsummaryrefslogtreecommitdiff
path: root/python/mox.py
diff options
context:
space:
mode:
authorcclauss <cclauss@bluewin.ch>2017-08-17 19:25:39 +0200
committerGitHub <noreply@github.com>2017-08-17 19:25:39 +0200
commit958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4 (patch)
tree7a6901ad0e9295ccf7be5f1b83ad3016e157f9c6 /python/mox.py
parent5e39ecc569153db63bc4e1587f703c7894223375 (diff)
downloadprotobuf-958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4.tar.gz
protobuf-958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4.tar.bz2
protobuf-958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4.zip
Old style exception --> new style exception
Diffstat (limited to 'python/mox.py')
-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)