Skip to content

Commit

Permalink
gallery
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed May 21, 2024
1 parent 7613f36 commit 4f5854a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,13 @@ def run_example_tests():
logging.info("Skipping %s" % name_with_parent_dir)
continue
examples_scripts.append(os.path.join(root, f))

__run_example_tests_helper(examples_scripts)
try:
__run_example_tests_helper(examples_scripts)
except (ImportError, ValueError) as e:
if "linkml" in str(e):
pass # this is OK because linkml is not always installed
else:
raise e


def run_example_ros3_tests():
Expand Down

0 comments on commit 4f5854a

Please sign in to comment.