Skip to content
Snippets Groups Projects
Commit 630c83a6 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

MethodType in Python 3 takes 2 arguments only

parent 94d2a464
No related branches found
No related tags found
1 merge request!32Add frame processing functionality
Pipeline #
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment