Skip to content

Add test to imread from url. #10817

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

Merged
merged 1 commit into from
Mar 17, 2018
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Mar 17, 2018

PR Summary

Replaces #4485. Note that we already have a test there that requires internet access (but reading from the filelike object returned by urllib.request) so adding another test requiring internet request can't change our status wrt debian policies (discussed in the previous thread).

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@anntzer anntzer added this to the v3.0 milestone Mar 17, 2018
@WeatherGod
Copy link
Member

WeatherGod commented Mar 17, 2018 via email

@WeatherGod WeatherGod merged commit e03b005 into matplotlib:master Mar 17, 2018
@WeatherGod
Copy link
Member

way back in the day, this was an issue when you couldn't exclude those sorts of tests. and this test was already one of those, so I am not sure why it was brought up. All this does is expands the smoketest a little bit so that it proves that a url is all that is needed.

@anntzer anntzer deleted the imread-from-url branch March 17, 2018 19:24
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.

3 participants