test_preparing_bad_url() — requests Function Reference
Architecture documentation for the test_preparing_bad_url() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 7a2cae1a_423d_96c8_66ef_e83dd781abdc["test_preparing_bad_url()"] 0e391504_f528_a095_5b1a_95d479a82586["TestPreparingURLs"] 7a2cae1a_423d_96c8_66ef_e83dd781abdc -->|defined in| 0e391504_f528_a095_5b1a_95d479a82586 style 7a2cae1a_423d_96c8_66ef_e83dd781abdc fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 2759–2762
def test_preparing_bad_url(self, url):
r = requests.Request("GET", url=url)
with pytest.raises(requests.exceptions.InvalidURL):
r.prepare()
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_preparing_bad_url() do?
test_preparing_bad_url() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_preparing_bad_url() defined?
test_preparing_bad_url() is defined in tests/test_requests.py at line 2759.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free