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

Improve tests #274

Merged
merged 12 commits into from Dec 9, 2016
Merged

Improve tests #274

merged 12 commits into from Dec 9, 2016

Commits on Dec 7, 2016

  1. Copy the full SHA
    b25910a View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4444812 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2016

  1. ENH: Include tests as part of the coverage.

    This way we can check that their aggregate coverage through codecov is
    100% and ensure that all tests are being executed.
    dopplershift committed Dec 9, 2016
    Copy the full SHA
    06280de View commit details
    Browse the repository at this point in the history
  2. BUG: Enforce new-style division. (Fixes Unidata#276)

    This was causing differences in tests between Python 2 and 3.
    dopplershift committed Dec 9, 2016
    Copy the full SHA
    4dfaf90 View commit details
    Browse the repository at this point in the history
  3. MNT: Use consistent round for image tests.

    Because builtin round behavior changed between Python 2 and 3, and
    matplotlib < 2.0 was using it in places, we need to monkey patch it to
    get consistent testing across Python versions.
    dopplershift committed Dec 9, 2016
    Copy the full SHA
    73a143c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8d6f129 View commit details
    Browse the repository at this point in the history
  5. MNT: Fix type specification in TextCollection.

    This was throwing off PyCharm.
    dopplershift committed Dec 9, 2016
    Copy the full SHA
    53846b8 View commit details
    Browse the repository at this point in the history
  6. MNT: Tighten up station plot tests.

    Update images to matplotlib 2.0. Also add verion-dependent thresholds.
    All of this (with the previous fixes) allows us to have much tighter
    tolerances.
    dopplershift committed Dec 9, 2016
    Copy the full SHA
    dbd4986 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    61426ec View commit details
    Browse the repository at this point in the history
  8. MNT: Run Python 3.3 as a legacy configuration.

    It's really hard to run Python 3.3 with a matplotlib where we can have
    tight image test tolerances. Instead, run it alongside our 2.7 legacy
    build tests.
    dopplershift committed Dec 9, 2016
    Copy the full SHA
    947695d View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    0929038 View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    a127242 View commit details
    Browse the repository at this point in the history