Skip to content

Commit

Permalink
Skip ESMF profiling tests if babeltrace python binding are not availa…
Browse files Browse the repository at this point in the history
…ble.
  • Loading branch information
micaeljtoliveira committed May 9, 2024
1 parent 4756277 commit 89421b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_esmf_profiling.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import pytest
from pathlib import Path

bt2 = pytest.importorskip("bt2", reason="Requires babeltrace2 python bindings")

from om3utils.esmf_profiling import ESMFProfilingParser


Expand Down
2 changes: 2 additions & 0 deletions tests/test_esmf_trace.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import pytest

bt2 = pytest.importorskip("bt2", reason="Requires babeltrace2 python bindings")

from om3utils.esmf_trace import SinglePETTimingNode, MultiPETTimingNode


Expand Down

0 comments on commit 89421b8

Please sign in to comment.