Skip to content
Myr

assert that the copy() is not the original

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Gert Van Gool · committed by Gert Van Gool · parent 47e71d1 · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:test_requests.py+4 added-1 removed
1265 unmodified lines
1266 cid = CaseInsensitiveDict({1267 'Accept': 'application/json',1268 'user-Agent': 'requests',1269 })1270 assert cid == cid.copy()1270 cid_copy = cid.copy()1271 assert cid == cid_copy1272 cid['changed'] = True1273 assert cid != cid_copy12741275 def test_repr(self):1276 cid = CaseInsensitiveDict({1277 'Accept': 'application/json',
389 unmodified lines