We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2d59bc commit 4f14015Copy full SHA for 4f14015
tests/benchmarks/test_osworld.py
@@ -4,6 +4,17 @@
4
5
import pytest
6
7
+# Check if desktop_env is available
8
+try:
9
+ import desktop_env
10
+
11
+ DESKTOP_ENV_AVAILABLE = True
12
+except ImportError:
13
+ DESKTOP_ENV_AVAILABLE = False
14
15
+# Skip the entire module if desktop_env is not available
16
+pytestmark = pytest.mark.skipif(not DESKTOP_ENV_AVAILABLE, reason="desktop_env not installed")
17
18
from agentlab.benchmarks.osworld import (
19
OSWorldActionSet,
20
OsworldEnvArgs,
0 commit comments