import pytest
sys.path.append(os.path.join(os.path.dirname(__file__), "../rtest"))
-from gvtest import dot #pylint: disable=C0413
-
-def is_cmake() -> bool:
- """
- is the current CI environment a CMake job?
- """
- return os.getenv("build_system") == "cmake"
+from gvtest import dot, is_cmake #pylint: disable=C0413
def _freedesktop_os_release() -> Dict[str, str]:
"""
stdin=subprocess.DEVNULL,
universal_newlines=True)
+def is_cmake() -> bool:
+ """was the Graphviz under test built with CMake?"""
+ return os.getenv("build_system") == "cmake"
+
def is_mingw() -> bool:
"""is the current platform MinGW?"""
return "mingw" in sysconfig.get_platform()