Using httpx==0.25.1
Test case:
def test_respx_data_list():
with respx.mock:
respx.post("http://example.com", data={"foo": ["bar"]})
httpx.post("http://example.com", data={"foo": ["bar"]})
In 0.20.2 this test passes as expected. In 0.21.1 it fails with a AllMockedAssertionError
Using httpx==0.25.1
Test case:
In 0.20.2 this test passes as expected. In 0.21.1 it fails with a
AllMockedAssertionError