From 8ca7b855acce015e1e52cc99b73990700f988577 Mon Sep 17 00:00:00 2001 From: Mark Chackerian Date: Mon, 16 Jul 2018 18:31:32 -0400 Subject: [PATCH] more flake8 fixes --- graphene/__init__.py | 1 + graphene/types/tests/test_decimal.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/graphene/__init__.py b/graphene/__init__.py index e0f6c51a..2884939c 100644 --- a/graphene/__init__.py +++ b/graphene/__init__.py @@ -66,6 +66,7 @@ __all__ = [ "Date", "DateTime", "Time", + "Decimal", "JSONString", "UUID", "List", diff --git a/graphene/types/tests/test_decimal.py b/graphene/types/tests/test_decimal.py index e4c08ffc..abc4a6c4 100644 --- a/graphene/types/tests/test_decimal.py +++ b/graphene/types/tests/test_decimal.py @@ -40,4 +40,4 @@ def test_bad_decimal_query(): result = schema.execute("""{ decimal(input: "%s") }""" % not_a_decimal) assert len(result.errors) == 1 - assert result.data == None + assert result.data is None