diff options
Diffstat (limited to 'Lib/test/test_sqlite.py')
-rw-r--r-- | Lib/test/test_sqlite.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_sqlite.py b/Lib/test/test_sqlite.py index b8a9acf..611b30a 100644 --- a/Lib/test/test_sqlite.py +++ b/Lib/test/test_sqlite.py @@ -1,9 +1,10 @@ -from test.support import run_unittest, TestSkipped +import unittest +from test.support import run_unittest try: import _sqlite3 except ImportError: - raise TestSkipped('no sqlite available') + raise unittest.SkipTest('no sqlite available') from sqlite3.test import (dbapi, types, userfunctions, factory, transactions, hooks, regression, dump) |