@@ -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
@@ -1018,11 +1018,11 @@ def tearDown(self):
1018
1018
super (_EngineToConnMixin , self ).tearDown ()
1019
1019
1020
1020
1021
- class TestSQLApiConn (_EngineToConnMixin , TestSQLApi ):
1021
+ class TestSQLApiConn (_EngineToConnMixin , TestSQLApi , unittest . TestCase ):
1022
1022
pass
1023
1023
1024
1024
1025
- class TestSQLiteFallbackApi (SQLiteMixIn , _TestSQLApi ):
1025
+ class TestSQLiteFallbackApi (SQLiteMixIn , _TestSQLApi , unittest . TestCase ):
1026
1026
"""
1027
1027
Test the public sqlite connection fallback API
1028
1028
@@ -1869,34 +1869,39 @@ def test_schema_support(self):
1869
1869
tm .assert_frame_equal (res1 , res2 )
1870
1870
1871
1871
1872
- class TestMySQLAlchemy (_TestMySQLAlchemy , _TestSQLAlchemy ):
1872
+ class TestMySQLAlchemy (_TestMySQLAlchemy , _TestSQLAlchemy , unittest . TestCase ):
1873
1873
pass
1874
1874
1875
1875
1876
- class TestMySQLAlchemyConn (_TestMySQLAlchemy , _TestSQLAlchemyConn ):
1876
+ class TestMySQLAlchemyConn (_TestMySQLAlchemy , _TestSQLAlchemyConn ,
1877
+ unittest .TestCase ):
1877
1878
pass
1878
1879
1879
1880
1880
- class TestPostgreSQLAlchemy (_TestPostgreSQLAlchemy , _TestSQLAlchemy ):
1881
+ class TestPostgreSQLAlchemy (_TestPostgreSQLAlchemy , _TestSQLAlchemy ,
1882
+ unittest .TestCase ):
1881
1883
pass
1882
1884
1883
1885
1884
- class TestPostgreSQLAlchemyConn (_TestPostgreSQLAlchemy , _TestSQLAlchemyConn ):
1886
+ class TestPostgreSQLAlchemyConn (_TestPostgreSQLAlchemy , _TestSQLAlchemyConn ,
1887
+ unittest .TestCase ):
1885
1888
pass
1886
1889
1887
1890
1888
- class TestSQLiteAlchemy (_TestSQLiteAlchemy , _TestSQLAlchemy ):
1891
+ class TestSQLiteAlchemy (_TestSQLiteAlchemy , _TestSQLAlchemy ,
1892
+ unittest .TestCase ):
1889
1893
pass
1890
1894
1891
1895
1892
- class TestSQLiteAlchemyConn (_TestSQLiteAlchemy , _TestSQLAlchemyConn ):
1896
+ class TestSQLiteAlchemyConn (_TestSQLiteAlchemy , _TestSQLAlchemyConn ,
1897
+ unittest .TestCase ):
1893
1898
pass
1894
1899
1895
1900
1896
1901
# -----------------------------------------------------------------------------
1897
1902
# -- Test Sqlite / MySQL fallback
1898
1903
1899
- class TestSQLiteFallback (SQLiteMixIn , PandasSQLTest ):
1904
+ class TestSQLiteFallback (SQLiteMixIn , PandasSQLTest , unittest . TestCase ):
1900
1905
"""
1901
1906
Test the fallback mode against an in-memory sqlite database.
1902
1907
0 commit comments