Skip to content

Commit

Permalink
style: apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnighter committed Feb 17, 2022
1 parent ff0acf8 commit 69a9900
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cobra/test/test_io/test_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ def test_validate_json(
) -> None:
"""Validate file according to JSON-schema."""
jsonschema = pytest.importorskip("jsonschema")
with open(
join(data_directory, "mini.json"), "r", encoding="utf-8"
) as infile:
with open(join(data_directory, "mini.json"), "r", encoding="utf-8") as infile:
loaded = json.load(infile)
assert jsonschema.validate(loaded, json_schema_v1) is None

Expand Down

0 comments on commit 69a9900

Please sign in to comment.