aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2019-06-06 12:13:08 +0200
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-06 03:13:08 -0700
commit6af230359e57122708247dac970e05e05529cde6 (patch)
tree749b45804a0090b9db925be91cddf11249ae9c31 /Programs
parentbpo-35551: remove mac_centeuro encoding (GH-13856) (diff)
downloadcpython-6af230359e57122708247dac970e05e05529cde6.tar.gz
cpython-6af230359e57122708247dac970e05e05529cde6.tar.bz2
cpython-6af230359e57122708247dac970e05e05529cde6.zip
bpo-2661: Make mapping tests better usable for custom mapping classes. (GH-11157)
In test_fromkeys() the derived test class now supports all arguments in its constructor so that the class to be tested can use its own constructor in its fromkeys() implementation. In test_mutatingiteration() the test fails as soon as iterating over a dictionary with one entry and adding new entries in the loop iterates more than once (to avoid endless loops in faulty implementations). https://bugs.python.org/issue2661
Diffstat (limited to 'Programs')
0 files changed, 0 insertions, 0 deletions