[New-bugs-announce] [issue45181] Rewrite loading sqlite3 tests
Serhiy Storchaka
report at bugs.python.org
Mon Sep 13 03:10:10 EDT 2021
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
The proposed PR rewrites the loading of sqlite3 tests. Instead of explicitly enumerating test modules and test classes in every module, and manually creating test suites, it uses unittest discover ability. Every new test files and test classes will be automatically added to tests.
As a side effect, unittest filtering by pattern works now.
$ ./python -m test.test_sqlite -vk long
test_sqlite: testing with version '2.6.0', sqlite_version '3.31.1'
test_func_return_long_long (sqlite3.test.test_userfunctions.FunctionTests) ... ok
test_param_long_long (sqlite3.test.test_userfunctions.FunctionTests) ... ok
----------------------------------------------------------------------
Ran 2 tests in 0.001s
OK
----------
components: Tests
messages: 401687
nosy: erlendaasland, ghaering, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Rewrite loading sqlite3 tests
type: enhancement
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45181>
_______________________________________
More information about the New-bugs-announce
mailing list