@@ -236,7 +236,7 @@ def _close_conn(self):
236
236
pass
237
237
238
238
239
- class PandasSQLTest (unittest . TestCase ):
239
+ class PandasSQLTest (object ):
240
240
"""
241
241
Base class with common private methods for SQLAlchemy and fallback cases.
242
242
@@ -839,7 +839,7 @@ def test_unicode_column_name(self):
839
839
df .to_sql ('test_unicode' , self .conn , index = False )
840
840
841
841
842
- class TestSQLApi (SQLAlchemyMixIn , _TestSQLApi ):
842
+ class TestSQLApi (SQLAlchemyMixIn , _TestSQLApi , unittest . TestCase ):
843
843
"""
844
844
Test the public API as it would be used directly
845
845
@@ -1024,11 +1024,11 @@ def tearDown(self):
1024
1024
super (_EngineToConnMixin , self ).tearDown ()
1025
1025
1026
1026
1027
- class TestSQLApiConn (_EngineToConnMixin , TestSQLApi ):
1027
+ class TestSQLApiConn (_EngineToConnMixin , TestSQLApi , unittest . TestCase ):
1028
1028
pass
1029
1029
1030
1030
1031
- class TestSQLiteFallbackApi (SQLiteMixIn , _TestSQLApi ):
1031
+ class TestSQLiteFallbackApi (SQLiteMixIn , _TestSQLApi , unittest . TestCase ):
1032
1032
"""
1033
1033
Test the public sqlite connection fallback API
1034
1034
@@ -1875,34 +1875,39 @@ def test_schema_support(self):
1875
1875
tm .assert_frame_equal (res1 , res2 )
1876
1876
1877
1877
1878
- class TestMySQLAlchemy (_TestMySQLAlchemy , _TestSQLAlchemy ):
1878
+ class TestMySQLAlchemy (_TestMySQLAlchemy , _TestSQLAlchemy , unittest . TestCase ):
1879
1879
pass
1880
1880
1881
1881
1882
- class TestMySQLAlchemyConn (_TestMySQLAlchemy , _TestSQLAlchemyConn ):
1882
+ class TestMySQLAlchemyConn (_TestMySQLAlchemy , _TestSQLAlchemyConn ,
1883
+ unittest .TestCase ):
1883
1884
pass
1884
1885
1885
1886
1886
- class TestPostgreSQLAlchemy (_TestPostgreSQLAlchemy , _TestSQLAlchemy ):
1887
+ class TestPostgreSQLAlchemy (_TestPostgreSQLAlchemy , _TestSQLAlchemy ,
1888
+ unittest .TestCase ):
1887
1889
pass
1888
1890
1889
1891
1890
- class TestPostgreSQLAlchemyConn (_TestPostgreSQLAlchemy , _TestSQLAlchemyConn ):
1892
+ class TestPostgreSQLAlchemyConn (_TestPostgreSQLAlchemy , _TestSQLAlchemyConn ,
1893
+ unittest .TestCase ):
1891
1894
pass
1892
1895
1893
1896
1894
- class TestSQLiteAlchemy (_TestSQLiteAlchemy , _TestSQLAlchemy ):
1897
+ class TestSQLiteAlchemy (_TestSQLiteAlchemy , _TestSQLAlchemy ,
1898
+ unittest .TestCase ):
1895
1899
pass
1896
1900
1897
1901
1898
- class TestSQLiteAlchemyConn (_TestSQLiteAlchemy , _TestSQLAlchemyConn ):
1902
+ class TestSQLiteAlchemyConn (_TestSQLiteAlchemy , _TestSQLAlchemyConn ,
1903
+ unittest .TestCase ):
1899
1904
pass
1900
1905
1901
1906
1902
1907
# -----------------------------------------------------------------------------
1903
1908
# -- Test Sqlite / MySQL fallback
1904
1909
1905
- class TestSQLiteFallback (SQLiteMixIn , PandasSQLTest ):
1910
+ class TestSQLiteFallback (SQLiteMixIn , PandasSQLTest , unittest . TestCase ):
1906
1911
"""
1907
1912
Test the fallback mode against an in-memory sqlite database.
1908
1913
0 commit comments