Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
erikwrede committed Oct 27, 2024
1 parent c9a4d53 commit 3787d22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions graphene/types/tests/test_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def test_time_query_variable(sample_time):
assert not result.errors
assert result.data == {"time": isoformat}


def test_support_isoformat():
isoformat = 20111104

Expand All @@ -244,6 +245,7 @@ def test_support_isoformat():
assert not result.errors
assert result.data == {"time": isoformat}


def test_bad_variables(sample_date, sample_datetime, sample_time):
def _test_bad_variables(type_, input_):
result = schema.execute(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def run_tests(self):
install_requires=[
"graphql-core>=3.1,<3.3",
"graphql-relay>=3.1,<3.3",
"python-dateutil>=2.7.0,<3",
"typing-extensions>=4.7.1,<5",
"python-dateutil>=2.7.0,<3"
],
tests_require=tests_require,
extras_require={"test": tests_require, "dev": dev_requires},
Expand Down

0 comments on commit 3787d22

Please sign in to comment.