A community-maintained Python framework for creating mathematical animations.
changing python version
Hugues Devimeuxdf6f2d2a47ef
diff --git a/tests/test_CLI.py b/tests/test_CLI.pyindex 6e027b3ea..4084232a6 100644--- a/tests/test_CLI.py+++ b/tests/test_CLI.py@@ -13,7 +13,7 @@ def capture(command):def test_help():- command = ["python", "-m", "manim", "--help"]+ command = ["python3", "-m", "manim", "--help"]out, err, exitcode = capture(command)assert exitcode == 0, "Manim is not correcly installed. Please refer to the troubleshooting section on the wiki. Error : {}".format(err)@@ -23,7 +23,7 @@ def test_basicScene():""" Simulate SquareToCircle. The cache will be saved in tests_caches/media_temp (temporary directory). This is mainly intended to test the partial-movies process. """path_basic_scene = os.path.join("tests", "tests_data", "basic_scenes.py")path_output = os.path.join("tests", "tests_cache", "media_temp")- command = ["python", "-m", "manim", path_basic_scene,+ command = ["python3", "-m", "manim", path_basic_scene,"SquareToCircle", "-l", "--media_dir", path_output]out, err, exitcode = capture(command)assert exitcode == 0, err@@ -36,7 +36,7 @@ def test_WriteStuff():"""Simulate WriteStuff. 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", "-m", "manim", path_basic_scene,+ command = ["python3", "-m", "manim", path_basic_scene,"WriteStuff", "-l", "--media_dir", path_output]out, err, exitcode = capture(command)assert exitcode == 0, err