From 958412e2e622ae27fdc2a3d9bc0a3a41a3eea9b4 Mon Sep 17 00:00:00 2001 From: cclauss Date: Thu, 17 Aug 2017 19:25:39 +0200 Subject: Old style exception --> new style exception --- python/mox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/mox.py') 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) -- cgit v1.2.3