mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
python-3.6.zip added from Github
README.cosmo contains the necessary links.
This commit is contained in:
parent
75fc601ff5
commit
0c4c56ff39
4219 changed files with 1968626 additions and 0 deletions
24
third_party/python/Lib/test/test_sqlite.py
vendored
Normal file
24
third_party/python/Lib/test/test_sqlite.py
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
import test.support
|
||||
|
||||
# Skip test if _sqlite3 module not installed
|
||||
test.support.import_module('_sqlite3')
|
||||
|
||||
import unittest
|
||||
import sqlite3
|
||||
from sqlite3.test import (dbapi, types, userfunctions,
|
||||
factory, transactions, hooks, regression,
|
||||
dump)
|
||||
|
||||
def load_tests(*args):
|
||||
if test.support.verbose:
|
||||
print("test_sqlite: testing with version",
|
||||
"{!r}, sqlite_version {!r}".format(sqlite3.version,
|
||||
sqlite3.sqlite_version))
|
||||
return unittest.TestSuite([dbapi.suite(), types.suite(),
|
||||
userfunctions.suite(),
|
||||
factory.suite(), transactions.suite(),
|
||||
hooks.suite(), regression.suite(),
|
||||
dump.suite()])
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
Loading…
Add table
Add a link
Reference in a new issue