Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

get_project_root() for getting the anchor dir of manim (#650)

kolibril130f50ac63795d
diff --git a/tests/helpers/path_utils.py b/tests/helpers/path_utils.py
new file mode 100644
index 000000000..ded7079ef
--- /dev/null
+++ b/tests/helpers/path_utils.py
@@ -0,0 +1,5 @@
+from pathlib import Path
+
+
+def get_project_root() -> Path:
+ return Path(__file__).parent.parent.parent