Skip to content

Commit

Permalink
Fix pr #5242: Switch dependency to browsergym-core
Browse files Browse the repository at this point in the history
  • Loading branch information
openhands-agent committed Nov 25, 2024
1 parent 6dfe520 commit 0fea4bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/runtime/test_browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ def test_simple_browse(temp_dir, runtime_cls, run_as_openhands):

def has_miniwob():
try:
import browsergym.miniwob # noqa: F401

return True
import importlib.util
spec = importlib.util.find_spec('browsergym.miniwob')
return spec is not None
except ImportError:
return False

Expand Down

0 comments on commit 0fea4bf

Please sign in to comment.