Skip to content

Commit

Permalink
manual skipif
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkasirer committed Oct 1, 2024
1 parent 8145057 commit 3d7f0a6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/compas/test_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ def test_ensure_implementations_with_valid_impl():
PluginValidator.ensure_implementations(CompleteImpl)


@pytest.mark.skipif(not compas.IPY, reason="Only works in Rhino")
def test_dot_net_exception_with_rhino():
if not compas.RHINO:
return

from compas.plugins import DotNetException

assert DotNetException is not None
Expand All @@ -50,6 +52,9 @@ def test_dot_net_exception_with_rhino():


def test_dot_net_exception_without_rhino():
if compas.RHINO:
return

from compas.plugins import DotNetException

assert DotNetException is not None
Expand Down

0 comments on commit 3d7f0a6

Please sign in to comment.