Skip to content

Commit 8f87c34

Browse files
authored
adding import or skip for tensorflow framework required by examples tests (#1691)
1 parent b2144b4 commit 8f87c34

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tests/unit/examples/test_01-Getting-started.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
# limitations under the License.
1515
#
1616
import nest_asyncio
17+
import pytest
1718
from testbook import testbook
1819

1920
from tests.conftest import REPO_ROOT
2021

22+
pytest.importorskip("tensorflow")
2123
nest_asyncio.apply()
2224

2325

tests/unit/examples/test_02-Advanced-NVTabular-workflow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
from tests.conftest import REPO_ROOT
2121

2222
pytest.importorskip("cudf")
23+
pytest.importorskip("tensorflow")
2324
nest_asyncio.apply()
2425

2526

0 commit comments

Comments
 (0)