Skip to content

Commit

Permalink
test(datasets): skip tensorflow tests on Windows (#363)
Browse files Browse the repository at this point in the history
Signed-off-by: Deepyaman Datta <[email protected]>
  • Loading branch information
deepyaman authored Oct 4, 2023
1 parent ecb00f5 commit c4dc6e4
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import importlib
import sys
from pathlib import PurePosixPath

import numpy as np
Expand All @@ -12,6 +13,12 @@
from kedro_datasets import KedroDeprecationWarning
from kedro_datasets._io import DatasetError

if sys.platform == "win32":
pytest.skip(
"TensorFlow tests have become inexplicably flaky in Windows CI",
allow_module_level=True,
)


# In this test module, we wrap tensorflow and TensorFlowModelDataset imports into a module-scoped
# fixtures to avoid them being evaluated immediately when a new test process is spawned.
Expand Down

0 comments on commit c4dc6e4

Please sign in to comment.