Skip to content

Commit de67bb7

Browse files
aaditya-panikWillAyd
authored andcommitted
CLN: Fix mypy errors in pandas/tests/io/test_sql.py Reverted and added type changes (#29006)
1 parent 74bbbb0 commit de67bb7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pandas/tests/io/test_sql.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ class _TestSQLApi(PandasSQLTest):
583583
"""
584584

585585
flavor = "sqlite"
586-
mode = None
586+
mode = None # type: str
587587

588588
def setup_connect(self):
589589
self.conn = self.connect()
@@ -1234,7 +1234,7 @@ class _TestSQLAlchemy(SQLAlchemyMixIn, PandasSQLTest):
12341234
12351235
"""
12361236

1237-
flavor = None
1237+
flavor = None # type: str
12381238

12391239
@pytest.fixture(autouse=True, scope="class")
12401240
def setup_class(cls):

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,6 @@ ignore_errors=True
205205
[mypy-pandas.tests.io.json.test_ujson]
206206
ignore_errors=True
207207

208-
[mypy-pandas.tests.io.test_sql]
209-
ignore_errors=True
210-
211208
[mypy-pandas.tests.plotting.test_backend]
212209
ignore_errors=True
213210

0 commit comments

Comments
 (0)