mirror of
https://github.com/graphql-python/graphene.git
synced 2025-09-21 19:32:33 +03:00
Remove six.PY3 references from tests
This commit is contained in:
parent
923401676c
commit
5ed250b5fd
|
@ -1,9 +1,7 @@
|
|||
from typing import Type
|
||||
|
||||
from ..utils.subclass_with_meta import SubclassWithMeta
|
||||
from ..utils.trim_docstring import trim_docstring
|
||||
import six
|
||||
|
||||
if six.PY3:
|
||||
from typing import Type
|
||||
|
||||
|
||||
class BaseOptions(object):
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
import six
|
||||
from typing import Any
|
||||
|
||||
from graphql.language.ast import BooleanValue, FloatValue, IntValue, StringValue
|
||||
|
||||
from .base import BaseOptions, BaseType
|
||||
from .unmountedtype import UnmountedType
|
||||
|
||||
if six.PY3:
|
||||
from typing import Any
|
||||
|
||||
|
||||
class ScalarOptions(BaseOptions):
|
||||
pass
|
||||
|
|
|
@ -115,9 +115,6 @@ def test_enum_from_builtin_enum_accepts_lambda_description():
|
|||
|
||||
|
||||
def test_enum_from_python3_enum_uses_enum_doc():
|
||||
if not six.PY3:
|
||||
return
|
||||
|
||||
from enum import Enum as PyEnum
|
||||
|
||||
class Color(PyEnum):
|
||||
|
|
Loading…
Reference in New Issue
Block a user