mirror of
https://github.com/python/cpython.git
synced 2025-09-08 01:41:19 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21314)
This commit is contained in:
parent
9ce8132e1f
commit
883bc63833
19 changed files with 225 additions and 194 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue