Skip to content

Commit

Permalink
remove Python 2 (#1547)
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Wrede <[email protected]>
  • Loading branch information
dulmandakh and erikwrede authored Jun 13, 2024
1 parent 6a66851 commit 5924cc4
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions examples/starwars/tests/snapshots/snap_test_query.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals

from snapshottest import Snapshot

snapshots = Snapshot()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals

from snapshottest import Snapshot

snapshots = Snapshot()
Expand Down
2 changes: 0 additions & 2 deletions examples/starwars_relay/tests/snapshots/snap_test_mutation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals

from snapshottest import Snapshot

snapshots = Snapshot()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals

from snapshottest import Snapshot


Expand Down
2 changes: 0 additions & 2 deletions graphene/pyutils/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import unicode_literals

import datetime
import os
import subprocess
Expand Down
2 changes: 0 additions & 2 deletions graphene/types/datetime.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import datetime

from graphql.error import GraphQLError
Expand Down
2 changes: 0 additions & 2 deletions graphene/types/decimal.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

from decimal import Decimal as _Decimal

from graphql import Undefined
Expand Down
2 changes: 0 additions & 2 deletions graphene/types/generic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import unicode_literals

from graphql.language.ast import (
BooleanValueNode,
FloatValueNode,
Expand Down
2 changes: 0 additions & 2 deletions graphene/types/json.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from __future__ import absolute_import

import json

from graphql import Undefined
Expand Down
1 change: 0 additions & 1 deletion graphene/types/uuid.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import absolute_import
from uuid import UUID as _UUID

from graphql.language.ast import StringValueNode
Expand Down

0 comments on commit 5924cc4

Please sign in to comment.