diff --git a/locust/clients.py b/locust/clients.py index 508c4cb47c..c586496d54 100644 --- a/locust/clients.py +++ b/locust/clients.py @@ -48,7 +48,7 @@ class HttpSession(requests.Session): and then mark it as successful even if the response code was not (i.e 500 or 404). """ def __init__(self, base_url, *args, **kwargs): - requests.Session.__init__(self, *args, **kwargs) + super(HttpSession, self).__init__(*args, **kwargs) self.base_url = base_url