summaryrefslogtreecommitdiffstats
path: root/Lib/tkinter/test/test_tkinter/test_widgets.py
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2021-10-20 08:06:38 (GMT)
committerGitHub <noreply@github.com>2021-10-20 08:06:38 (GMT)
commitd46b2217d13bbcf8145da8c12a487ba775d6f162 (patch)
tree2ac1c7364b1475341301ac54a4cf4cd22e405856 /Lib/tkinter/test/test_tkinter/test_widgets.py
parenta18e4e9c15a0be833e01c3892206661fc91e6918 (diff)
downloadcpython-d46b2217d13bbcf8145da8c12a487ba775d6f162.zip
cpython-d46b2217d13bbcf8145da8c12a487ba775d6f162.tar.gz
cpython-d46b2217d13bbcf8145da8c12a487ba775d6f162.tar.bz2
[3.9] bpo-45500: Rewrite test_dbm (GH-29002) (GH-29074)
* 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.. (cherry picked from commit 975b94b9de969777218e96a9950c1dab2dab65a0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/tkinter/test/test_tkinter/test_widgets.py')
0 files changed, 0 insertions, 0 deletions