|
20 | 20 | from __future__ import print_function |
21 | 21 | from warnings import catch_warnings |
22 | 22 | import pytest |
23 | | -import unittest |
24 | 23 | import sqlite3 |
25 | 24 | import csv |
26 | 25 | import os |
@@ -819,7 +818,7 @@ def test_unicode_column_name(self): |
819 | 818 |
|
820 | 819 |
|
821 | 820 | @pytest.mark.single |
822 | | -class TestSQLApi(SQLAlchemyMixIn, _TestSQLApi, unittest.TestCase): |
| 821 | +class TestSQLApi(SQLAlchemyMixIn, _TestSQLApi, tm.TestCase): |
823 | 822 | """ |
824 | 823 | Test the public API as it would be used directly |
825 | 824 |
|
@@ -999,12 +998,12 @@ def teardown_method(self, method): |
999 | 998 |
|
1000 | 999 |
|
1001 | 1000 | @pytest.mark.single |
1002 | | -class TestSQLApiConn(_EngineToConnMixin, TestSQLApi, unittest.TestCase): |
| 1001 | +class TestSQLApiConn(_EngineToConnMixin, TestSQLApi, tm.TestCase): |
1003 | 1002 | pass |
1004 | 1003 |
|
1005 | 1004 |
|
1006 | 1005 | @pytest.mark.single |
1007 | | -class TestSQLiteFallbackApi(SQLiteMixIn, _TestSQLApi, unittest.TestCase): |
| 1006 | +class TestSQLiteFallbackApi(SQLiteMixIn, _TestSQLApi, tm.TestCase): |
1008 | 1007 | """ |
1009 | 1008 | Test the public sqlite connection fallback API |
1010 | 1009 |
|
@@ -1822,45 +1821,45 @@ def test_schema_support(self): |
1822 | 1821 |
|
1823 | 1822 |
|
1824 | 1823 | @pytest.mark.single |
1825 | | -class TestMySQLAlchemy(_TestMySQLAlchemy, _TestSQLAlchemy, unittest.TestCase): |
| 1824 | +class TestMySQLAlchemy(_TestMySQLAlchemy, _TestSQLAlchemy, tm.TestCase): |
1826 | 1825 | pass |
1827 | 1826 |
|
1828 | 1827 |
|
1829 | 1828 | @pytest.mark.single |
1830 | 1829 | class TestMySQLAlchemyConn(_TestMySQLAlchemy, _TestSQLAlchemyConn, |
1831 | | - unittest.TestCase): |
| 1830 | + tm.TestCase): |
1832 | 1831 | pass |
1833 | 1832 |
|
1834 | 1833 |
|
1835 | 1834 | @pytest.mark.single |
1836 | 1835 | class TestPostgreSQLAlchemy(_TestPostgreSQLAlchemy, _TestSQLAlchemy, |
1837 | | - unittest.TestCase): |
| 1836 | + tm.TestCase): |
1838 | 1837 | pass |
1839 | 1838 |
|
1840 | 1839 |
|
1841 | 1840 | @pytest.mark.single |
1842 | 1841 | class TestPostgreSQLAlchemyConn(_TestPostgreSQLAlchemy, _TestSQLAlchemyConn, |
1843 | | - unittest.TestCase): |
| 1842 | + tm.TestCase): |
1844 | 1843 | pass |
1845 | 1844 |
|
1846 | 1845 |
|
1847 | 1846 | @pytest.mark.single |
1848 | 1847 | class TestSQLiteAlchemy(_TestSQLiteAlchemy, _TestSQLAlchemy, |
1849 | | - unittest.TestCase): |
| 1848 | + tm.TestCase): |
1850 | 1849 | pass |
1851 | 1850 |
|
1852 | 1851 |
|
1853 | 1852 | @pytest.mark.single |
1854 | 1853 | class TestSQLiteAlchemyConn(_TestSQLiteAlchemy, _TestSQLAlchemyConn, |
1855 | | - unittest.TestCase): |
| 1854 | + tm.TestCase): |
1856 | 1855 | pass |
1857 | 1856 |
|
1858 | 1857 |
|
1859 | 1858 | # ----------------------------------------------------------------------------- |
1860 | 1859 | # -- Test Sqlite / MySQL fallback |
1861 | 1860 |
|
1862 | 1861 | @pytest.mark.single |
1863 | | -class TestSQLiteFallback(SQLiteMixIn, PandasSQLTest, unittest.TestCase): |
| 1862 | +class TestSQLiteFallback(SQLiteMixIn, PandasSQLTest, tm.TestCase): |
1864 | 1863 | """ |
1865 | 1864 | Test the fallback mode against an in-memory sqlite database. |
1866 | 1865 |
|
|
0 commit comments