diff --git a/graphene_django/tests/test_types.py b/graphene_django/tests/test_types.py index 2e4df4d..18d8055 100644 --- a/graphene_django/tests/test_types.py +++ b/graphene_django/tests/test_types.py @@ -76,9 +76,9 @@ def test_django_objecttype_with_custom_meta(): abstract = True @classmethod - def __init_subclass_with_meta__(cls, _meta=None, **options): - _meta = ArticleTypeOptions(cls) - super(ArticleType, cls).__init_subclass_with_meta__(_meta=_meta, **options) + def __init_subclass_with_meta__(cls, **options): + options.setdefault('_meta', ArticleTypeOptions(cls)) + super(ArticleType, cls).__init_subclass_with_meta__(**options) class Article(ArticleType): class Meta: