Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Catch NameError resulting from calling isinstance() on SWIG global cv… #49

Merged
merged 4 commits into from Mar 24, 2020

Conversation

dthkao
Copy link
Contributor

@dthkao dthkao commented Mar 20, 2020

…ar in Python 3.

I couldn't think of a way to add a unit test without requiring a SWIG dependency, and other examples of handling this issue didn't provide any examples (numpy/numpy@51a1895). WDYT?

@dthkao
Copy link
Contributor Author

dthkao commented Mar 20, 2020

Added tests after all.

Copy link
Contributor

@huan huan left a comment

Choose a reason for hiding this comment

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

LGTM.

ping @trein @KurtSteinkraus

@huan huan merged commit d7edcb8 into google:master Mar 24, 2020
@huan
Copy link
Contributor

huan commented Mar 24, 2020

This PR should be available at pinject version 0.15.dev3 or above.

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

Successfully merging this pull request may close these issues.

None yet

2 participants