Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: inspect.getargspec() is deprecated #76

Closed
afi-lambda opened this issue Oct 29, 2019 · 1 comment · Fixed by #79
Closed

DeprecationWarning: inspect.getargspec() is deprecated #76

afi-lambda opened this issue Oct 29, 2019 · 1 comment · Fixed by #79

Comments

@afi-lambda
Copy link

afi-lambda commented Oct 29, 2019

When using rtu.send_message() of your lib with Python 3.6.6 and pytest, I have a warning:

...\venv\lib\site-packages\umodbus\functions.py:129: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()

Modifiying line 129 of functions.py from:
...inspect.getargspec(...
to:
...inspect.getfullargspec(...
remove the warning in my case

Perhaps you could integrate this change in your code

@OrangeTux
Copy link
Collaborator

Thanks for your notification!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants