aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-05-26 18:47:16 +0200
committerGravatar Leon Sandøy <[email protected]>2020-05-26 19:07:14 +0200
commit723c1d3337b0a59401f1d3fc50a123f0314a5d3e (patch)
tree28447d40c345944b704dbcfb638ea7035db226fa /tests/test_helpers.py
parentTurn log.exception into log.error (diff)
Fix edge case where pop might not delete.
If you passed a key for a value that was the same as your optional, it would just return it but not delete it. This edge case isn't worth it, so I'm just removing that condition and letting the extra API call fly.
Diffstat (limited to 'tests/test_helpers.py')
0 files changed, 0 insertions, 0 deletions