Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/o/s/osc2-HEAD/test/httptest.py   osc2(Download)
        def build_opener(*handlers):
            handlers += (MyHTTPHandler(exp_requests=EXPECTED_REQUESTS,
                                       fixtures_dir=self._fixtures_dir), )
            return self._orig_build_opener(*handlers)
        urllib2.build_opener = build_opener