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: handle argument of type 'int' is not iterable #324

Merged
merged 3 commits into from
Dec 7, 2023

Conversation

awalker4
Copy link
Collaborator

@awalker4 awalker4 commented Dec 7, 2023

Closes #323

Certain OSErrors come back with an errno in the first arg. We were searching for a substring in here, so we just need to skip the check if e.args[0] is not a string.

The new test case verifies this by raising an error with a errno.

Certain OSErrors come back with an errno in the first arg. We were searching for a substring in
here, so we just need to skip the check if e.args[0] is not a string.

The new test case verifies this by raising an error with a errno.
Copy link
Contributor

@yuming-long yuming-long left a comment

Choose a reason for hiding this comment

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

LGTM!

@awalker4 awalker4 merged commit f306062 into main Dec 7, 2023
6 checks passed
@awalker4 awalker4 deleted the austin/OSError-fix branch December 7, 2023 16:03
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.

TypeError: argument of type 'int' is not iterable
2 participants