bpo-40275: Use new test.support helper submodules in tests (GH-21314)

This commit is contained in:
Hai Shi 2020-07-06 17:12:49 +08:00 committed by GitHub
parent 9ce8132e1f
commit 883bc63833
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 225 additions and 194 deletions

View file

@ -1,7 +1,8 @@
import test.support
from test.support import import_helper
# Skip test if _sqlite3 module not installed
test.support.import_module('_sqlite3')
import_helper.import_module('_sqlite3')
import unittest
import sqlite3