Skip to content

Commit

Permalink
Fixed test type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Oct 15, 2023
1 parent 9a0dfee commit 4a4a7c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
"cookiecutter>=2.4.0",
"fsspec",
"ghapi",
"gitpython>=3.1.35",
"gitpython>=3.1.37",
"immutabledict",
"orjson",
"pydantic>2.0.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ def rendered_layer_info(fixtures_path: Path) -> Tuple[dict, RenderedLayer]:
return layer_info, rendered_layer


def test_deserialize_rendered_layer(rendered_layer_info: tuple[dict, RenderedLayer], fixtures_path: Path):
def test_deserialize_rendered_layer(rendered_layer_info: Tuple[dict, RenderedLayer], fixtures_path: Path):
"""A rendered layer dict should be serialized into a RenderedLayer."""
layer_info = rendered_layer_info[0]
expected_layer = rendered_layer_info[1]
rendered_layer = io.deserialize_rendered_layer(layer_info, fixtures_path)
assert rendered_layer == expected_layer


def test_serialize_rendered_layer(rendered_layer_info: tuple[dict, RenderedLayer]):
def test_serialize_rendered_layer(rendered_layer_info: Tuple[dict, RenderedLayer]):
"""A rendered layer should be serialized into a dict."""
layer_info = rendered_layer_info[0]
rendered_layer = rendered_layer_info[1]
Expand Down

0 comments on commit 4a4a7c0

Please sign in to comment.