Message404131
| Author |
serhiy.storchaka |
| Recipients |
serhiy.storchaka |
| Date |
2021年10月17日.09:55:33 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1634464533.25.0.959205582661.issue45500@roundup.psfhosted.org> |
| In-reply-to |
| Content |
* 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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2021年10月17日 09:55:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
| 2021年10月17日 09:55:33 | serhiy.storchaka | set | messageid: <1634464533.25.0.959205582661.issue45500@roundup.psfhosted.org> |
| 2021年10月17日 09:55:33 | serhiy.storchaka | link | issue45500 messages |
| 2021年10月17日 09:55:33 | serhiy.storchaka | create |
|