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

TST: Fix urlopen stubbing. #11776

Merged
merged 1 commit into from Aug 18, 2018
Merged

Conversation

charris
Copy link
Member

@charris charris commented Aug 17, 2018

Backport of #11715.

For whatever reason, this stubbing does not do anything. I think it is because the
class setup overrides the module setup, but I did not look into it too deeply. Renaming
setup to setup_module and teardown to teardown_module fixes that.

setup/teardown doesn't work, but setup_module/teardown_module does, at
least in pytest.
Copy link
Contributor

@jeffyancey jeffyancey left a comment

Choose a reason for hiding this comment

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

Kind if spooky, but lgtm!

@charris charris merged commit fecb6cb into numpy:maintenance/1.15.x Aug 18, 2018
@charris charris deleted the backport-11715 branch August 18, 2018 10:09
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.

None yet

3 participants