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 Tests' AttributeError in Python 3.9 with base64.decodestring #210

Merged
merged 3 commits into from
Nov 16, 2020

Conversation

kitchoi
Copy link
Contributor

@kitchoi kitchoi commented Nov 16, 2020

Closes #209

base64.decodestring is deprecated in 3.1, and has been an alias of decodebytes

I searched the code base of apptools and it has only been used in tests. This PR fixes that particular tests.
Since we don't yet run against Python 3.9 on CI, I ran the test suite locally to verify it passes on Python 3.9 and OSX.

Checklist

  • Add a news fragment if this PR is news-worthy for end users. (see docs/releases/README.rst)

While this may not be news worthy for developers using apptools, this is perhaps news worthy for distribution packagers who run package test suites against their systems (that is, if they also have all the optional dependencies e.g. pytables, but that is an orthogonal issue.)

base64.decodestring is deprecated in 3.1, and has been an alias of decodebytes
Copy link
Contributor

@rahulporuri rahulporuri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kitchoi kitchoi merged commit feaf620 into master Nov 16, 2020
@kitchoi kitchoi deleted the fix-removed-decodestring branch November 16, 2020 14:56
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.

Test failures for apptools.persistence on Python 3.9
2 participants