A community-maintained Python framework for creating mathematical animations.
minor syntax improvements
Hugues Devimeux420aae202940
diff --git a/tests/test_CLI.py b/tests/test_CLI.pyindex 3c2da3410..3aa92b4ff 100644--- a/tests/test_CLI.py+++ b/tests/test_CLI.py@@ -30,12 +30,12 @@ def test_basicScene(python_version):out, err, exitcode = capture(command)assert exitcode == 0, errassert os.path.exists(os.path.join(- path_output, "videos", "basic_scenes", "480p15", "SquareToCircle.mp4")), err # "Error in the file generation. Please ignore if it was intended"+ path_output, "videos", "basic_scenes", "480p15", "SquareToCircle.mp4")), errrmtree(path_output)@pytest.mark.skip_end_to_enddef test_WriteStuff(python_version):- """Simulate WriteStuff. This is mainly intended to test the caching process of the tex objects"""+ """This is mainly intended to test the caching process of the tex objects"""path_basic_scene = os.path.join("tests", "tests_data", "basic_scenes.py")path_output = os.path.join("tests", "tests_cache", "media_temp")command = [python_version, "-m", "manim", path_basic_scene,@@ -43,5 +43,5 @@ def test_WriteStuff(python_version):out, err, exitcode = capture(command)assert exitcode == 0, errassert os.path.exists(os.path.join(- path_output, "videos", "basic_scenes", "480p15", "WriteStuff.mp4")), err# "Error in the file generation. Please ignore if it was intended"+ path_output, "videos", "basic_scenes", "480p15", "WriteStuff.mp4")), errrmtree(path_output)diff --git a/tests/test_graph.py b/tests/test_graph.pyindex 9c8756255..3825f0c36 100644--- a/tests/test_graph.py+++ b/tests/test_graph.py@@ -25,4 +25,5 @@ def test_scenes(get_config_test, Tester):module_name = os.path.splitext(os.path.basename(__file__))[0].replace('test_', '')for name, scene_tested in inspect.getmembers(sys.modules[__name__], lambda m: inspect.isclass(m) and m.__module__ == __name__):- Tester(scene_tested, CONFIG, module_name, caching_needed=True).test()\ No newline at end of file+ Tester(scene_tested, CONFIG, module_name, caching_needed=True).test()+\ No newline at end of file