]> git.ipfire.org Git - thirdparty/httpx.git/commit
Raise a proper type error on invalid URL type (#1259)
authorTyler Wozniak <wozniak.ty@live.com>
Fri, 4 Sep 2020 21:14:59 +0000 (14:14 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Sep 2020 21:14:59 +0000 (23:14 +0200)
commit42c66863d0c2c65d9c43e81e76f9af4fad160e11
treeb2fba3f9ccfcef1a4f5cb14e5d659ed47532c2ad
parent8fa87650b2ad3f8a07491a9de14caf02ea2e7e1a
Raise a proper type error on invalid URL type (#1259)

* Added test for expected URL class behavior

* Updated URL class, tests pass

* Updated to include type in error message
httpx/_models.py
tests/models/test_url.py