Skip to content

Commit bda21ab

Browse files
committed
Going big: disable sql tests
1 parent cc12c1f commit bda21ab

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

pandas/tests/io/test_sql.py

+22
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,8 @@ def test_escaped_table_name(self):
863863
tm.assert_frame_equal(res, df)
864864

865865

866+
@pytest.mark.skip('trying to find unclosed socket causing that is '
867+
'causing a Resourcewarning')
866868
@pytest.mark.single
867869
class TestSQLApi(SQLAlchemyMixIn, _TestSQLApi):
868870
"""
@@ -1054,11 +1056,15 @@ def setup_method(self, load_iris_data):
10541056
# super(_EngineToConnMixin, self).teardown_method(method)
10551057

10561058

1059+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1060+
'causing a Resourcewarning')
10571061
@pytest.mark.single
10581062
class TestSQLApiConn(_EngineToConnMixin, TestSQLApi):
10591063
pass
10601064

10611065

1066+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1067+
'causing a Resourcewarning')
10621068
@pytest.mark.single
10631069
class TestSQLiteFallbackApi(SQLiteMixIn, _TestSQLApi):
10641070
"""
@@ -1138,6 +1144,8 @@ def test_sqlite_type_mapping(self):
11381144
# -- Database flavor specific tests
11391145

11401146

1147+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1148+
'causing a Resourcewarning')
11411149
class _TestSQLAlchemy(SQLAlchemyMixIn, PandasSQLTest):
11421150
"""
11431151
Base class for testing the sqlalchemy backend.
@@ -1930,31 +1938,43 @@ def test_schema_support(self):
19301938
tm.assert_frame_equal(res1, res2)
19311939

19321940

1941+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1942+
'causing a Resourcewarning')
19331943
@pytest.mark.single
19341944
class TestMySQLAlchemy(_TestMySQLAlchemy, _TestSQLAlchemy):
19351945
pass
19361946

19371947

1948+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1949+
'causing a Resourcewarning')
19381950
@pytest.mark.single
19391951
class TestMySQLAlchemyConn(_TestMySQLAlchemy, _TestSQLAlchemyConn):
19401952
pass
19411953

19421954

1955+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1956+
'causing a Resourcewarning')
19431957
@pytest.mark.single
19441958
class TestPostgreSQLAlchemy(_TestPostgreSQLAlchemy, _TestSQLAlchemy):
19451959
pass
19461960

19471961

1962+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1963+
'causing a Resourcewarning')
19481964
@pytest.mark.single
19491965
class TestPostgreSQLAlchemyConn(_TestPostgreSQLAlchemy, _TestSQLAlchemyConn):
19501966
pass
19511967

19521968

1969+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1970+
'causing a Resourcewarning')
19531971
@pytest.mark.single
19541972
class TestSQLiteAlchemy(_TestSQLiteAlchemy, _TestSQLAlchemy):
19551973
pass
19561974

19571975

1976+
@pytest.mark.skip('trying to find unclosed socket causing that is '
1977+
'causing a Resourcewarning')
19581978
@pytest.mark.single
19591979
class TestSQLiteAlchemyConn(_TestSQLiteAlchemy, _TestSQLAlchemyConn):
19601980
pass
@@ -2195,6 +2215,8 @@ def _skip_if_no_pymysql():
21952215
pytest.skip('pymysql not installed, skipping')
21962216

21972217

2218+
@pytest.mark.skip('trying to find unclosed socket causing that is '
2219+
'causing a Resourcewarning')
21982220
@pytest.mark.single
21992221
class TestXSQLite(SQLiteMixIn):
22002222

0 commit comments

Comments
 (0)