summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2020-10-05 15:57:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-10-30 10:44:44 +0100
commit966b5b49b6521483f1c90b4499c4c80e80136de3 (patch)
tree3cdbeda0dae479a13839db9d001cbb35745772b3 /tests/admin_scripts
parent1a8ad8a5c6f3344959e81531177164d1c4c4e52a (diff)
Updated MultiValueDict.update() to mirror dict.update() behavior.
Changes in behavior include: - Accepting iteration over empty sequences, updating nothing. - Accepting iterable of 2-tuples providing key-value pairs. - Failing with the same or comparable exceptions for invalid input. Notably this replaces the previous attempt to catch TypeError which was unreachable as the call to .items() resulted in AttributeError on non-dict objects.
Diffstat (limited to 'tests/admin_scripts')
0 files changed, 0 insertions, 0 deletions