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

Enable testing without internet access. #5216

Merged
merged 2 commits into from Oct 9, 2015

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Oct 8, 2015

A new arg to tests.py, --no-network will turn off tests that are
known to require internet access and also monkey patch the networking
utilities in Python to disallow access to the outside network.

Fixes #5198

@sandrotosi: For Debian, it should just be able to add --no-network when it calls tests.py.

A new arg to `tests.py`, `--no-network` will turn off tests that are
known to require internet access and also monkey patch the networking
utilities in Python to disallow access to the outside network.
@tacaswell tacaswell added this to the next point release (1.5.0) milestone Oct 8, 2015
@sandrotosi
Copy link
Contributor

thanks @mdboom ! I'm currently not using tests.py to run tests, I will switch to it then

tacaswell added a commit that referenced this pull request Oct 9, 2015
TST: Enable testing without internet access.
@tacaswell tacaswell merged commit 1edc210 into matplotlib:master Oct 9, 2015
tacaswell added a commit that referenced this pull request Oct 9, 2015
TST: Enable testing without internet access.
@tacaswell
Copy link
Member

cherry-picked as b5d8674

@mdboom mdboom deleted the nose-internet branch November 10, 2015 02:46
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.

None yet

3 participants