Skip to content
Myr

Remove redundant session in `test_mixed_case_scheme_acceptable`

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

authored by David Pursehouse · committed by David Pursehouse · parent b65b8c5 · Browse files · 1 file+1 added−4 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+1 added−4 removed

  • other:+1 added−4 removed

1 file+1 added−4 removed

modified:test_requests.py+1 added-4 removed
88 unmodified lines
89 self.assertEqual(request.url,90 "http://example.com/path?key=value&a=b#fragment")9192 def test_mixed_case_scheme_acceptable(self):93 proxies = getproxies()93 s = requests.Session()95 s.proxies = proxies94 s.proxies = getproxies()95 r = requests.Request('GET', 'http://httpbin.org/get')96 r = s.send(r.prepare())97 self.assertEqual(r.status_code,200)99 s = requests.Session()100 s.proxies = proxies98 r = requests.Request('GET', 'HTTP://httpbin.org/get')99 r = s.send(r.prepare())100 self.assertEqual(r.status_code,200)101 r = requests.Request('GET', 'hTTp://httpbin.org/get')
685 unmodified lines