From e455ef8063f8dbaa3a2b0e2d62b68468d1d5b5b5 Mon Sep 17 00:00:00 2001 From: Jeremy McCormick Date: Fri, 5 Jul 2024 17:04:36 -0500 Subject: [PATCH] Fix bad type hint on test variable The type hint should be `Schema` and not a `MutableMapping`. --- tests/test_tap.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_tap.py b/tests/test_tap.py index d8628e3e..c4d56947 100644 --- a/tests/test_tap.py +++ b/tests/test_tap.py @@ -23,8 +23,6 @@ import shutil import tempfile import unittest -from collections.abc import MutableMapping -from typing import Any import sqlalchemy import yaml @@ -39,7 +37,7 @@ class VisitorTestCase(unittest.TestCase): """Test the TAP loading visitor.""" - schema_obj: MutableMapping[str, Any] = {} + schema_obj: Schema def setUp(self) -> None: """Load data from a test file."""