From ee5a19b1ced814081c5cbcbde9c864db89472cc1 Mon Sep 17 00:00:00 2001 From: Mateusz Kulewicz Date: Fri, 26 Jan 2024 10:01:10 +0100 Subject: [PATCH] Use list, not list[int] --- tests/unit/test_collect_schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/test_collect_schemas.py b/tests/unit/test_collect_schemas.py index e312e10..e87d57b 100644 --- a/tests/unit/test_collect_schemas.py +++ b/tests/unit/test_collect_schemas.py @@ -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):