Skip to content

[Experimental] Fix regression tests in test_vectorized_mobject.py - #4922

Open
fmuenkel wants to merge 1 commit into
ManimCommunity:experimentalfrom
fmuenkel:fix_vectorized_mobject_tests
Open

[Experimental] Fix regression tests in test_vectorized_mobject.py#4922
fmuenkel wants to merge 1 commit into
ManimCommunity:experimentalfrom
fmuenkel:fix_vectorized_mobject_tests

Conversation

@fmuenkel

@fmuenkel fmuenkel commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Overview: What does this pull request change?

  • Refactors the regression test to check incomplete curves for the OpenGL renderer, which uses 3 point (quadratic) bezier curves instead of Cairo's 4 point (cubic) curves. Reames the test function test_align_points_handles_vmobject_with_no_complete_cubic_curves to test_align_points_handles_vmobject_with_no_complete_curves

  • Make Iterable available at runtime, which fixes test_vgroup_init_with_iterable.

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

The test treated three point curves as incomplete, which is not the case for the OpenGL renderer.

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

@fmuenkel fmuenkel changed the title fix: Fix regression tests in `test_vectorized_mobject.py' fix: Fix regression tests in test_vectorized_mobject.py Aug 9, 2026
@fmuenkel fmuenkel changed the title fix: Fix regression tests in test_vectorized_mobject.py [Experimental] Fix regression tests in test_vectorized_mobject.py Aug 9, 2026
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.

2 participants