tarantool / tarantool-python

Python client library for Tarantool
https://www.tarantool.io
BSD 2-Clause "Simplified" License
100 stars 48 forks source link

DeprecationWarning: decodestring() is a deprecated alias #117

Closed knazarov closed 5 years ago

knazarov commented 5 years ago

When running tests with pytest that use tarantool-python, I see the following warning:

  /usr/local/lib/python3.7/site-packages/tarantool/utils.py:88: DeprecationWarning: decodestring() is a deprecated alias since Python 3.1, use decodebytes()
    result.salt = base64.decodestring(greeting_buf[64:])[:20]
Totktonada commented 5 years ago

Duplicate of #114.