From 630c83a6bd3c511eb2e28ab94c2d175d5eaa10c0 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Mon, 27 Nov 2017 14:03:02 +0100
Subject: [PATCH] MethodType in Python 3 takes 2 arguments only

---
 bob/pad/face/test/test_utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/pad/face/test/test_utils.py b/bob/pad/face/test/test_utils.py
index 524c2d0f..539aba19 100644
--- a/bob/pad/face/test/test_utils.py
+++ b/bob/pad/face/test/test_utils.py
@@ -31,7 +31,7 @@ def test_yield_faces_1():
 def test_yield_faces_2():
     database = Database()
     database.annotations = MethodType(
-        _annotations, database, database.__class__)
+        _annotations, database)
     for face in yield_faces(database, padfile):
         assert face.ndim == 2
         assert face.shape == database.frame_shape
-- 
GitLab