test_copy() — requests Function Reference
Architecture documentation for the test_copy() function in test_requests.py from the requests codebase.
Entity Profile
Dependency Diagram
graph TD 5b394d79_1169_d77f_e01c_1a1e54cb2e09["test_copy()"] 1af73de2_d781_73a2_a172_8a628d8b069d["TestCaseInsensitiveDict"] 5b394d79_1169_d77f_e01c_1a1e54cb2e09 -->|defined in| 1af73de2_d781_73a2_a172_8a628d8b069d style 5b394d79_1169_d77f_e01c_1a1e54cb2e09 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_requests.py lines 2415–2425
def test_copy(self):
cid = CaseInsensitiveDict(
{
"Accept": "application/json",
"user-Agent": "requests",
}
)
cid_copy = cid.copy()
assert cid == cid_copy
cid["changed"] = True
assert cid != cid_copy
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_copy() do?
test_copy() is a function in the requests codebase, defined in tests/test_requests.py.
Where is test_copy() defined?
test_copy() is defined in tests/test_requests.py at line 2415.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free