def setUp(self):
        super(WsgiLimiterProxyTest, self).setUp()
        self.app = limits.WsgiLimiter(TEST_LIMITS)
        self.oldHTTPConnection = (
            wire_HTTPConnection_to_WSGI("169.254.0.1:80", self.app))
        self.proxy = limits.WsgiLimiterProxy("169.254.0.1:80")
:param n_attempts: will try several things and work with the best one
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_limits.py/WsgiLimiterProxyTest.setUp--crossover with--dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/experiments/categorical.py/SimpleCategoricalRegressor.__init__