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

switch IOBase to FileIO in test #1650

Merged
merged 1 commit into from
Sep 29, 2023
Merged

Conversation

braingram
Copy link
Contributor

Testing with python 3.12 in #1633 revealed an issue with one test that is using IOBase. See comment: #1633 (comment)

It appears that in python 3.12 IOBase.__init__ no longer accepts accepts the same arguments. This appears to be an undocumented change (I can't seen to find any documentation) and I don't recall this occurring in rc1. The use of IOBase in the test can be replaced with FileIO (which fits the usage better).

This change is split from #1633 to make it easier to backport to 2.15.x

Copy link
Contributor

@eslavich eslavich left a comment

Choose a reason for hiding this comment

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

LGTM

@braingram braingram merged commit 54b2f2c into asdf-format:main Sep 29, 2023
29 checks passed
@braingram braingram deleted the iobase branch September 29, 2023 10:42
braingram added a commit to braingram/asdf that referenced this pull request Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants