Skip to content

Commit

Permalink
Version 1.11.9
Browse files Browse the repository at this point in the history
  • Loading branch information
clemense committed Dec 6, 2024
1 parent 51b1c47 commit 5a0450e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/example_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def _set_random_seed():
def kitchen_scene():
try:
from scene_synthesizer import examples
except ModuleNotFoundError as e:
except ImportError as e:
pytest.skip(f"Skipping because module not found: {e}")

_set_random_seed()
Expand All @@ -43,7 +43,7 @@ def kitchen_scene():
def kitchen_scene_collision():
try:
from scene_synthesizer import examples
except ModuleNotFoundError as e:
except ImportError as e:
pytest.skip(f"Skipping because module not found: {e}")

_set_random_seed()
Expand Down
4 changes: 2 additions & 2 deletions tests/exports_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _set_random_seed():
def kitchen_scene():
try:
from scene_synthesizer import examples
except ModuleNotFoundError as e:
except ImportError as e:
pytest.skip(f"Skipping because module not found: {e}")

_set_random_seed()
Expand All @@ -48,7 +48,7 @@ def kitchen_scene():
def kitchen_scene_collision():
try:
from scene_synthesizer import examples
except ModuleNotFoundError as e:
except ImportError as e:
pytest.skip(f"Skipping because module not found: {e}")

_set_random_seed()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def wrapper(*args, **kwargs):
except ErrorException as e:
if 'Failed to open layer' in str(e):
pytest.skip(f"Skipping: {e}")
except ModuleNotFoundError as e:
except ImportError as e:
pytest.skip(f"Skipping: {e}")
return ret
return functools.update_wrapper(wrapper, func)
Expand Down

0 comments on commit 5a0450e

Please sign in to comment.