From 3051374b4623fd5e5761d83681748e2880b9857f Mon Sep 17 00:00:00 2001 From: mongkok Date: Sat, 3 Feb 2018 03:23:10 +0530 Subject: [PATCH] Fix Python 2.7 super arguments --- graphene_django/tests/test_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/tests/test_types.py b/graphene_django/tests/test_types.py index 10db943..a69870d 100644 --- a/graphene_django/tests/test_types.py +++ b/graphene_django/tests/test_types.py @@ -78,7 +78,7 @@ def test_django_objecttype_with_custom_meta(): @classmethod def __init_subclass_with_meta__(cls, _meta=None, **options): _meta = ArticleTypeOptions(cls) - super().__init_subclass_with_meta__(_meta=_meta, **options) + super(ArticleType, cls).__init_subclass_with_meta__(_meta=_meta, **options) class Article(ArticleType): class Meta: