A community-maintained Python framework for creating mathematical animations.
Fix test_opengl::test_Circle (#1894)
Max Stoumenfbc8c4a2829b
diff --git a/tests/control_data/graphical_units_data/opengl/Circle.npz b/tests/control_data/graphical_units_data/opengl/Circle.npznew file mode 100644index 000000000..7b7262a8bBinary files /dev/null and b/tests/control_data/graphical_units_data/opengl/Circle.npz differdiff --git a/tests/test_graphical_units/test_opengl.py b/tests/test_graphical_units/test_opengl.pyindex 73e4af106..ac0f723a5 100644--- a/tests/test_graphical_units/test_opengl.py+++ b/tests/test_graphical_units/test_opengl.py@@ -2,15 +2,13 @@ import pytestfrom manim import *from manim.opengl import *+from manim.renderer.opengl_renderer import OpenGLRendererfrom tests.test_graphical_units.testing.frames_comparison import frames_comparison__module_test__ = "opengl"- reason="OpenGL is really hard to test. It will be tested when the design is largely improved. This test has an error for a reason that I can't understand/s"-)-@frames_comparison(use_opengl_renderer=True)+@frames_comparison(renderer_class=OpenGLRenderer, renderer="opengl")def test_Circle(scene):circle = OpenGLCircle().set_color(RED)scene.add(circle)