Skip to content

Commit

Permalink
Use list, not list[int]
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkay committed Jan 26, 2024
1 parent 51dccd4 commit ee5a19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_collect_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ProviderSchema(DataBagSchema):
(
(dedent("""Foo2: int=1"""), "Foo2"),
(dedent("""Bar: str='baz'"""), "Bar"),
(dedent("""Baz: list[int]=[1,2,3]"""), "Baz"),
(dedent("""Baz: list=[1,2,3]"""), "Baz"),
),
)
def test_get_schema_from_module_wrong_type(tmp_path, schema_source, schema_name):
Expand Down

0 comments on commit ee5a19b

Please sign in to comment.