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

Experimental: fix 11 tests #3979

Merged
merged 6 commits into from
Oct 30, 2024

Conversation

chopan050
Copy link
Contributor

@chopan050 chopan050 commented Oct 26, 2024

Overview: What does this pull request change?

Motivation and Explanation: Why and how do your changes improve the library?

Links to added or changed documentation pages

Further Information and Comments

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@chopan050 chopan050 changed the base branch from main to experimental October 26, 2024 03:16
@chopan050 chopan050 marked this pull request as draft October 27, 2024 13:06
@chopan050 chopan050 marked this pull request as ready for review October 28, 2024 14:38
@chopan050 chopan050 changed the title Experimental: fix 9 tests and validate Animation run time inside new run_time property setter Experimental: fix 7 tests Oct 28, 2024
@chopan050 chopan050 changed the title Experimental: fix 7 tests Experimental: fix 11 tests Oct 28, 2024
manager = Manager(Scene)
test_scene = manager.scene
test_scene.wait(1e-9, frozen_frame=frozen_frame)
Copy link
Member

Choose a reason for hiding this comment

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

We should probably get frozen_frame working instead of removing it from the test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

frozen_frame was no longer among the parameters of the new Scene.wait(), so I assumed that it would no longer be needed.

I can put it there again, if it's necessary.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, that might be my fault actually - I think I might have wanted to replace it with wait_until?
I guess for now until wait_until works this is fine.

@@ -5,22 +5,22 @@

def test_ghost_vectors_len_and_types():
manager = Manager(LinearTransformationScene)
scene = manager.scene
scene: LinearTransformationScene = manager.scene
Copy link
Member

Choose a reason for hiding this comment

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

It's interesting that we need this annotation - I thought it should be able to infer this already?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. Honestly, I don't know why this happens.

Copy link
Member

@JasonGrace2282 JasonGrace2282 left a comment

Choose a reason for hiding this comment

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

LGTM for now, we can always fix more tests later :)

@chopan050 chopan050 merged commit 4e6af02 into ManimCommunity:experimental Oct 30, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants