mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-16 23:22:05 +03:00
Fix issue with tests
This commit is contained in:
parent
50e1d6ebf4
commit
aff33bc549
|
@ -22,7 +22,7 @@ from ..rest_framework.mutation import SerializerMutation
|
|||
|
||||
pytestmark = pytest.mark.django_db
|
||||
|
||||
if sys.version_info < (3, 0):
|
||||
if sys.version_info > (3, 0):
|
||||
from unittest.mock import Mock
|
||||
else:
|
||||
from mock import Mock
|
||||
|
|
Loading…
Reference in New Issue
Block a user