Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

minor syntax improvement

Hugues Devimeux217f6b05a66a
diff --git a/tests/conftest.py b/tests/conftest.py
index e51433487..c8c3f3393 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -89,9 +89,7 @@ def Tester():
@pytest.fixture(scope= "module")
def python_version():
- if sys.platform == "darwin" :
- return "python3"
- return "python"
+ return "python3" if sys.platform == "darwin" else "python"
@pytest.fixture
def get_config_test():