Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix undefined name. Add animation tests.#10801

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jklymak merged 2 commits intomatplotlib:masterfromanntzer:fix-undefined-name
Mar 21, 2018

Conversation

anntzer
Copy link
Contributor

PR Summary

xref#10793 (comment)
Sorry :)

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

@anntzeranntzer added the Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. labelMar 15, 2018
@anntzeranntzer added this to thev3.0 milestoneMar 15, 2018
Copy link
Contributor

@afvincentafvincent left a comment

Choose a reason for hiding this comment

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

LGTM.

If this undefined variable never was an issue, does that mean that this code path is never exercised during the tests (genuine question)?

@tacaswell
Copy link
Member

Yeah, we do not force it to try to save a too-big animation to js.

@dopplershift
Copy link
Contributor

Oops. 🐑

@jklymak
Copy link
Member

... I told@anntzer that I trusted him... and the tests.

afvincent reacted with laugh emoji

@dopplershift
Copy link
Contributor

Yeah, I see now that I didn't screw it up originally. 😁

@anntzer
Copy link
ContributorAuthor

anntzer commentedMar 15, 2018
edited
Loading

Well, I'm writing tests for the whole thing right now and it looks like (tbc?) I'm finding an unrelated bug in html5 output... so perhaps that was a good thing that I'm breaking stuff here and there :p
edit: oh, it's just an instance of#9205.

@anntzer
Copy link
ContributorAuthor

anntzer commentedMar 15, 2018
edited
Loading

Added some tests, including an xfailing one :-)
btw I think we should replace most instances of xfail in the test suite by skipifs, so that xfail really means "this is a bug that we need to fix", not "the preconditions for running the test (e.g. OS, 3rd-party module) are not satisfied".

@anntzeranntzer changed the titleFix undefined name.Fix undefined name. Add animation tests.Mar 16, 2018
@tacaswell
Copy link
Member

Issue is we don't have ffmpeg installed on appveyor.

@anntzer
Copy link
ContributorAuthor

yup, working on that
stupid avconv :/

@anntzer
Copy link
ContributorAuthor

Added ppa to travis to install ffmpeg (not available by default on trusty) instead of avconv, given that that's actually our default converter...

@anntzeranntzerforce-pushed thefix-undefined-name branch 3 times, most recently from119eef9 to7178b98CompareMarch 16, 2018 17:04
@@ -25,7 +25,7 @@ local FreeType build

The following software is required to run the tests:

- pytest_ (>=3.1)
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't this be 3.4?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

sorry, fixed

@jklymak
Copy link
Member

Four approvals, but needs a rebase!

@anntzer
Copy link
ContributorAuthor

Trying to beat the record of the most approvals on a PR :p rebased.

Copy link
Member

@jklymakjklymak left a comment

Choose a reason for hiding this comment

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

Just to help you break the record; not that I really follow all the code. Thanks a lot for the extra test!

@jklymakjklymak merged commit186b3b3 intomatplotlib:masterMar 21, 2018
@anntzeranntzer deleted the fix-undefined-name branchMarch 21, 2018 20:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jkseppanjkseppanjkseppan approved these changes

@tacaswelltacaswelltacaswell approved these changes

@dopplershiftdopplershiftdopplershift approved these changes

@jklymakjklymakjklymak approved these changes

@afvincentafvincentafvincent approved these changes

Assignees
No one assigned
Labels
Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Milestone
v3.0.0
Development

Successfully merging this pull request may close these issues.

7 participants
@anntzer@tacaswell@dopplershift@jklymak@jkseppan@afvincent@QuLogic

[8]ページ先頭

©2009-2025 Movatter.jp