diff --git a/.gitignore b/.gitignore index 31bd1e964..d2bf7f6f9 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,5 @@ dmypy.json # generated parser src/scenic/syntax/parser.py + +simulation.gif \ No newline at end of file diff --git a/tests/simulators/newtonian/test_newtonian.py b/tests/simulators/newtonian/test_newtonian.py index a1ac5e4ad..b714479e2 100644 --- a/tests/simulators/newtonian/test_newtonian.py +++ b/tests/simulators/newtonian/test_newtonian.py @@ -48,6 +48,7 @@ def test_gif_creation(loadLocalScenario): simulation = simulator.simulate(scene, maxSteps=100) gif_path = Path("") / "simulation.gif" assert os.path.exists(gif_path) + os.remove(gif_path) @pickle_test