Traceback (most recent call last):


 "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest

self.test(*self.arg)
TypeError: test_joblib_compression_formats() takes exactly 3 arguments (0 given)

Traceback (most recent call last):


 "C:\Users\Nazarko\Desktop\hikvision_tg_bot.py", line 155, in <module>

bot.polling(none_stop = True)


 "C:\Python\lib\site-packages\telebot\__init__.py", line 389, in polling

self.__threaded_polling(none_stop, interval, timeout)


 "C:\Python\lib\site-packages\telebot\__init__.py", line 412, in __threaded_polling

polling_thread.raise_exceptions()


 "C:\Python\lib\site-packages\telebot\util.py", line 78, in raise_exceptions

six.reraise(self.exc_info[0], self.exc_info[1], self.exc_info[2])


 "C:\Python\lib\site-packages\six.py", line 693, in reraise

raise value


 "C:\Python\lib\site-packages\telebot\util.py", line 59, in run

task(*args, **kwargs)


 "C:\Python\lib\site-packages\telebot\__init__.py", line 276, in __retrieve_updates

updates = self.get_updates(offset=(self.last_update_id + 1), timeout=timeout)


 "C:\Python\lib\site-packages\telebot\__init__.py", line 246, in get_updates

json_updates = apihelper.get_updates(self.token, offset, limit, timeout, allowed_updates)


 "C:\Python\lib\site-packages\telebot\apihelper.py", line 180, in get_updates

return _make_request(token, method_url, params=payload)


 "C:\Python\lib\site-packages\telebot\apihelper.py", line 54, in _make_request

timeout=(connect_timeout, read_timeout), proxies=proxy)


 "C:\Python\lib\site-packages\requests\sessions.py", line 252, in request

r.send(prefetch=prefetch)


 "C:\Python\lib\site-packages\requests\models.py", line 620, in send

timeout=self.timeout,


 "C:\Python\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 423, in urlopen

body=body, headers=headers)


 "C:\Python\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 275, in _make_request

conn.request(method, url, **httplib_request_kw)


 "C:\Python\lib\http\client.py", line 1229, in request

self._send_request(method, url, body, headers, encode_chunked)


 "C:\Python\lib\http\client.py", line 1275, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)


 "C:\Python\lib\http\client.py", line 1224, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)


 "C:\Python\lib\http\client.py", line 1016, in _send_output

self.send(msg)


 "C:\Python\lib\http\client.py", line 956, in send

self.connect()


 "C:\Python\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 95, in connect

sock = socket.create_connection((self.host, self.port), self.timeout)


 "C:\Python\lib\socket.py", line 713, in create_connection

sock.settimeout(timeout)
TypeError: an integer is required (got type tuple)
