Skip to content

Commit 72f6efe

Browse files
author
Emmanouil Konstantinidis
committed
Fix python2 tests
1 parent 7b4ad81 commit 72f6efe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Meta:
6060
fields = ('name', 'slug', 'is_active')
6161

6262
def __init__(self, *args, **kwargs):
63-
super().__init__(*args, **kwargs)
63+
super(OrganisationErroredSerializer, self).__init__(*args, **kwargs)
6464

6565
# Should raise a KeyError
6666
self.context["test_value"]

0 commit comments

Comments
 (0)