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