diff --git a/pandas/tests/io/test_sql.py b/pandas/tests/io/test_sql.py
index 7491cef17ebfc..183a47c6039ec 100644
--- a/pandas/tests/io/test_sql.py
+++ b/pandas/tests/io/test_sql.py
@@ -583,7 +583,7 @@ class _TestSQLApi(PandasSQLTest):
     """
 
     flavor = "sqlite"
-    mode = None
+    mode = None  # type: str
 
     def setup_connect(self):
         self.conn = self.connect()
@@ -1234,7 +1234,7 @@ class _TestSQLAlchemy(SQLAlchemyMixIn, PandasSQLTest):
 
     """
 
-    flavor = None
+    flavor = None  # type: str
 
     @pytest.fixture(autouse=True, scope="class")
     def setup_class(cls):
diff --git a/setup.cfg b/setup.cfg
index 55d25abde585c..462e79dae1039 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -205,9 +205,6 @@ ignore_errors=True
 [mypy-pandas.tests.io.json.test_ujson]
 ignore_errors=True
 
-[mypy-pandas.tests.io.test_sql]
-ignore_errors=True
-
 [mypy-pandas.tests.plotting.test_backend]
 ignore_errors=True