mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 13:30:34 +08:00
mavsdk_tests: fix error for Python < 3.8
This commit is contained in:
@@ -39,7 +39,7 @@ def maybe_strip_color(text: str) -> str:
|
||||
return text
|
||||
|
||||
|
||||
@lru_cache
|
||||
@lru_cache()
|
||||
def _supports_color() -> bool:
|
||||
"""Returns True if the running system's terminal supports color.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user