From b65e94c1aea6fc0ad3a87eb177c2e74cce813939 Mon Sep 17 00:00:00 2001 From: Anton Agestam Date: Mon, 25 Nov 2024 20:13:17 +0100 Subject: [PATCH] chore: Fix broken pydantic schema test --- tests/test_pydantic.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_pydantic.py b/tests/test_pydantic.py index 709e1f6..3c42a9c 100644 --- a/tests/test_pydantic.py +++ b/tests/test_pydantic.py @@ -506,7 +506,6 @@ def test_can_generate_schema(self) -> None: "currency": { "const": "USD", "title": "Currency", - "enum": ["USD"], "type": "string", }, "subunits": { @@ -828,7 +827,6 @@ def test_can_generate_schema(self) -> None: "currency": { "const": "INR", "title": "Currency", - "enum": ["INR"], "type": "string", }, "numerator": { @@ -1071,7 +1069,6 @@ def test_can_generate_schema(self) -> None: "currency": { "const": "CUP", "title": "Currency", - "enum": ["CUP"], "type": "string", }, "overdraft_subunits": {