def METHOD_NAME(self):
    config = Configuration(
        Environment.Development,
        "integration_merchant_id",
        public_key="integration_public_key",
        private_key="integration_private_key",
        wrap_http_exceptions=True,
        timeout=0.001
    )
    gateway = braintree.braintree_gateway.BraintreeGateway(config)
    try:
        gateway.transaction.find("my_id")
    except braintree.exceptions.http.timeout_error.TimeoutError:
        correct_exception = True
    except Exception:
        correct_exception = False
    self.assertTrue(correct_exception)