You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run "pyzor ping" with PYTHONWARNINGS=d variable set.
Actual result
It shows a deprecation warning about the warn method of the logger and a warning about an unclosed socket:
$ PYTHONWARNINGS=d pyzor ping
/usr/lib/python3.11/site-packages/pyzor/config.py:170: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
log.warn("No accounts are setup. All commands will be executed by "
/usr/lib/python3.11/site-packages/pyzor/client.py:258: ResourceWarning: unclosed <socket.socket fd=3, family=2, type=2, proto=17, laddr=('0.0.0.0', 44911)>
response = self.routine(*args, **kwargs)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
public.pyzor.org:24441 (200, 'OK')
Expected result
No warnings.
Other notes
The text was updated successfully, but these errors were encountered:
Version information
Git snapshot.
Steps to replicate
Actual result
It shows a deprecation warning about the warn method of the logger and a warning about an unclosed socket:
Expected result
No warnings.
Other notes
The text was updated successfully, but these errors were encountered: