summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sqlite.py
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-10-29 22:08:19 (GMT)
committerGitHub <noreply@github.com>2021-10-29 22:08:19 (GMT)
commit62bf263a775f4444d8b5d5841cc09be3bd53e933 (patch)
treed92d1e79ebb70b5b5f92ab034aa45fecd2a368e4 /Lib/test/test_sqlite.py
parentc2d0ba722a7b3839685af968cf0c304a24cdf525 (diff)
downloadcpython-62bf263a775f4444d8b5d5841cc09be3bd53e933.zip
cpython-62bf263a775f4444d8b5d5841cc09be3bd53e933.tar.gz
cpython-62bf263a775f4444d8b5d5841cc09be3bd53e933.tar.bz2
bpo-10572: Move `sqlite3` tests to `Lib/test` (GH-29304)
Automerge-Triggered-By: GH:brettcannon
Diffstat (limited to 'Lib/test/test_sqlite.py')
-rw-r--r--Lib/test/test_sqlite.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/Lib/test/test_sqlite.py b/Lib/test/test_sqlite.py
deleted file mode 100644
index 9992a02..0000000
--- a/Lib/test/test_sqlite.py
+++ /dev/null
@@ -1,20 +0,0 @@
-import test.support
-from test.support import import_helper
-from test.support import load_package_tests
-
-# Skip test if _sqlite3 module not installed
-import_helper.import_module('_sqlite3')
-
-import unittest
-import os
-import sqlite3.test
-
-def load_tests(loader, tests, pattern):
- if test.support.verbose:
- print("test_sqlite: testing with version",
- "{!r}, sqlite_version {!r}".format(sqlite3.version,
- sqlite3.sqlite_version))
- return load_package_tests(os.path.dirname(sqlite3.test.__file__), loader, tests, pattern)
-
-if __name__ == "__main__":
- unittest.main()