https://github.com/python/cpython
Revision 975b94b9de969777218e96a9950c1dab2dab65a0 authored by Serhiy Storchaka on 19 October 2021, 19:11:28 UTC, committed by GitHub on 19 October 2021, 19:11:28 UTC
* Generate test classes at import time. It allows to filter them when
  run with unittest. E.g: "./python -m unittest test.test_dbm.TestCase_gnu -v".
* Create a database class in a new directory which will be removed after
  test. It guarantees that all created files and directories be removed
  and will not conflict with other dbm tests.
* Restore dbm._defaultmod after tests. Previously it was set to the last
  dbm module (dbm.dumb) which affected other tests.
* Enable the whichdb test for dbm.dumb.
* Move test_keys to the correct test class. It does not test whichdb().
* Remove some outdated code and comments.
1 parent 236e301
History
Tip revision: 975b94b9de969777218e96a9950c1dab2dab65a0 authored by Serhiy Storchaka on 19 October 2021, 19:11:28 UTC
bpo-45500: Rewrite test_dbm (GH-29002)
Tip revision: 975b94b
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.editorconfig -rw-r--r-- 181 bytes
.gitattributes -rw-r--r-- 2.1 KB
.gitignore -rw-r--r-- 2.1 KB
.travis.yml -rw-r--r-- 6.5 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 13.6 KB
Makefile.pre.in -rw-r--r-- 76.0 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 22.3 KB
config.guess -rwxr-xr-x 48.3 KB
config.sub -rwxr-xr-x 33.6 KB
configure -rwxr-xr-x 513.4 KB
configure.ac -rw-r--r-- 174.6 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 45.0 KB
setup.py -rw-r--r-- 114.7 KB

README.rst

back to top