def METHOD_NAME(self):
    tracer = trace.get_tracer(__name__)
    with tracer.start_as_current_span(
        "requests HTTP GET"
    ) as span, set_ip_on_next_http_connection(span):
        with tracer.start_as_current_span(
            "urllib3 HTTP GET"
        ) as span2, set_ip_on_next_http_connection(span2):
            resp, body = self.perform_request()
    assert resp.status == 200
    assert body == b"Hello!"
    for span in self.assert_span(num_spans=2):
        self.assertEqual(span.attributes, {"net.peer.ip": "127.0.0.1"})