Avatar for the aio-libs user
aio-libs
multidict
BlogDocsChangelog

Add coverage for making calls with incorrect arguments

#1072Merged
Comparing
test_bad_arg_calls
(
f722d6c
) with
master
(
4445017
)
CodSpeed Performance Gauge
+17%
Improvements
3
Regressions
0
Untouched
35
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

test_cimultidict_extend_str
tests/test_multidict_benchmarks.py::test_cimultidict_extend_str
CodSpeed Performance Gauge
+17%
198.4 µs
169.6 µs
test_multidict_extend_str
tests/test_multidict_benchmarks.py::test_multidict_extend_str
CodSpeed Performance Gauge
+16%
198.9 µs
170.9 µs
test_cimultidict_extend_istr
tests/test_multidict_benchmarks.py::test_cimultidict_extend_istr
CodSpeed Performance Gauge
+10%
143.4 µs
130.6 µs

Passed

test_cimultidict_delitem_str
tests/test_multidict_benchmarks.py::test_cimultidict_delitem_str
CodSpeed Performance Gauge
+2%
162.7 µs
159.9 µs
test_multidict_delitem_str
tests/test_multidict_benchmarks.py::test_multidict_delitem_str
CodSpeed Performance Gauge
+2%
104.4 µs
102.8 µs
test_cimultidict_update_istr
tests/test_multidict_benchmarks.py::test_cimultidict_update_istr
CodSpeed Performance Gauge
+1%
153.1 µs
151.9 µs
test_cimultidict_pop_istr
tests/test_multidict_benchmarks.py::test_cimultidict_pop_istr
CodSpeed Performance Gauge
+1%
108.7 µs
107.8 µs
test_cimultidict_get_miss_with_default
tests/test_multidict_benchmarks.py::test_cimultidict_get_miss_with_default
CodSpeed Performance Gauge
+1%
157.4 µs
156.3 µs
test_cimultidict_get_miss
tests/test_multidict_benchmarks.py::test_cimultidict_get_miss
CodSpeed Performance Gauge
+1%
154.8 µs
153.7 µs
test_multidict_get_miss
tests/test_multidict_benchmarks.py::test_multidict_get_miss
CodSpeed Performance Gauge
+1%
119.1 µs
118.3 µs
test_cimultidict_delitem_istr
tests/test_multidict_benchmarks.py::test_cimultidict_delitem_istr
CodSpeed Performance Gauge
+1%
114.4 µs
113.8 µs
test_cimultidict_get_istr_miss
tests/test_multidict_benchmarks.py::test_cimultidict_get_istr_miss
CodSpeed Performance Gauge
+1%
129.7 µs
129 µs
test_multidict_pop_str
tests/test_multidict_benchmarks.py::test_multidict_pop_str
CodSpeed Performance Gauge
0%
92.7 µs
92.5 µs
test_multidict_get_hit
tests/test_multidict_benchmarks.py::test_multidict_get_hit
CodSpeed Performance Gauge
0%
61.1 µs
61 µs
test_cimultidict_getall_str_hit
tests/test_multidict_benchmarks.py::test_cimultidict_getall_str_hit
CodSpeed Performance Gauge
0%
39.7 µs
39.6 µs
test_cimultidict_fetch_str
tests/test_multidict_benchmarks.py::test_cimultidict_fetch_str
CodSpeed Performance Gauge
0%
85.8 µs
85.8 µs
test_cimultidict_get_hit_with_default
tests/test_multidict_benchmarks.py::test_cimultidict_get_hit_with_default
CodSpeed Performance Gauge
0%
99.1 µs
99.1 µs
test_multidict_fetch
tests/test_multidict_benchmarks.py::test_multidict_fetch
CodSpeed Performance Gauge
0%
56.1 µs
56.1 µs
test_cimultidict_get_istr_with_default_miss
tests/test_multidict_benchmarks.py::test_cimultidict_get_istr_with_default_miss
CodSpeed Performance Gauge
0%
131.2 µs
131.4 µs
test_cimultidict_popitem_str
tests/test_multidict_benchmarks.py::test_cimultidict_popitem_str
CodSpeed Performance Gauge
0%
95.9 µs
96 µs
test_cimultidict_insert_str
tests/test_multidict_benchmarks.py::test_cimultidict_insert_str
CodSpeed Performance Gauge
0%
99.9 µs
100 µs
test_cimultidict_get_hit
tests/test_multidict_benchmarks.py::test_cimultidict_get_hit
CodSpeed Performance Gauge
0%
97 µs
97.2 µs
test_cimultidict_pop_str
tests/test_multidict_benchmarks.py::test_cimultidict_pop_str
CodSpeed Performance Gauge
0%
156.4 µs
156.6 µs
test_multidict_insert_str
tests/test_multidict_benchmarks.py::test_multidict_insert_str
CodSpeed Performance Gauge
0%
70.8 µs
70.9 µs
test_cimultidict_insert_istr
tests/test_multidict_benchmarks.py::test_cimultidict_insert_istr
CodSpeed Performance Gauge
0%
69.1 µs
69.3 µs
test_multidict_popitem_str
tests/test_multidict_benchmarks.py::test_multidict_popitem_str
CodSpeed Performance Gauge
0%
95.8 µs
96.1 µs
test_cimultidict_get_istr_hit
tests/test_multidict_benchmarks.py::test_cimultidict_get_istr_hit
CodSpeed Performance Gauge
0%
73.3 µs
73.5 µs
test_cimultidict_clear_str
tests/test_multidict_benchmarks.py::test_cimultidict_clear_str
CodSpeed Performance Gauge
0%
14.5 µs
14.5 µs
test_cimultidict_update_str
tests/test_multidict_benchmarks.py::test_cimultidict_update_str
CodSpeed Performance Gauge
0%
178.9 µs
179.7 µs
test_multidict_clear_str
tests/test_multidict_benchmarks.py::test_multidict_clear_str
CodSpeed Performance Gauge
-1%
14.5 µs
14.6 µs
test_cimultidict_get_istr_hit_with_default
tests/test_multidict_benchmarks.py::test_cimultidict_get_istr_hit_with_default
CodSpeed Performance Gauge
-1%
75.3 µs
75.9 µs
test_multidict_update_str
tests/test_multidict_benchmarks.py::test_multidict_update_str
CodSpeed Performance Gauge
-1%
145.8 µs
147.5 µs
test_cimultidict_getall_istr_hit
tests/test_multidict_benchmarks.py::test_cimultidict_getall_istr_hit
CodSpeed Performance Gauge
-1%
32.4 µs
32.9 µs
test_cimultidict_fetch_istr
tests/test_multidict_benchmarks.py::test_cimultidict_fetch_istr
CodSpeed Performance Gauge
-2%
61.4 µs
62.8 µs
test_multidict_getall_str_hit
tests/test_multidict_benchmarks.py::test_multidict_getall_str_hit
CodSpeed Performance Gauge
-2%
31.3 µs
32.1 µs
test_cimultidict_add_str
tests/test_multidict_benchmarks.py::test_cimultidict_add_str
CodSpeed Performance Gauge
-3%
80.6 µs
83.4 µs
test_cimultidict_add_istr
tests/test_multidict_benchmarks.py::test_cimultidict_add_istr
CodSpeed Performance Gauge
-6%
56.4 µs
60.1 µs
test_multidict_add_str
tests/test_multidict_benchmarks.py::test_multidict_add_str
CodSpeed Performance Gauge
-7%
45.2 µs
48.8 µs

Commits

Click on a commit to change the comparison range
Base
master
4445017
+17%
Add `match=` to `pytest.raises()` It's not very accurate since there are about 3 message templates. But it's better than nothing.
f722d6c
10 days ago
by webknjaz
© 2025 CodSpeed Technology
Home Terms PrivacyDocs