summaryrefslogtreecommitdiff
path: root/devel/py-mox/patches/patch-mox.py
blob: 7d06d52c387522894fc09dba12eec9b0c0f2e705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-mox.py,v 1.1 2018/03/24 17:10:07 joerg Exp $

--- mox.py.orig	2018-03-24 14:35:50.526907676 +0000
+++ mox.py
@@ -1229,7 +1229,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)