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

Fix compatibility with Python 3.11 and Python 3.12 #271

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

theMarix
Copy link
Contributor

@theMarix theMarix commented Jan 3, 2024

This improves on the Python-3.11-compatibility fix that can already be found on master but sadly seems to have missed a small detail. In addition, it replaces usage of the last remaining deprecated assertEquals in the tests by assertEqual, resolving an issue with Python 3.12 which dropped this.

A previous commit has already replaced the deprecated
inspect.getargspec() by inspect.getfullargspec(). However, it seems
the number of expected return values was not properly adjusted.
Unittest's assertEquals has finally been dropped in Python 3.12.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant