From 890c3ad0d58fa59532dc143e56c0100e4540fd0d Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Wed, 29 Jun 2022 14:26:46 +0200 Subject: [PATCH] pytest.importorskip --- tests/unit_tests/test_mesh_to_vtk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit_tests/test_mesh_to_vtk.py b/tests/unit_tests/test_mesh_to_vtk.py index 451c869c2e..f651f5acb5 100644 --- a/tests/unit_tests/test_mesh_to_vtk.py +++ b/tests/unit_tests/test_mesh_to_vtk.py @@ -1,7 +1,8 @@ import numpy as np from pathlib import Path import pytest -import vtk + +vtk = pytest.importorskip("vtk") from vtk.util import numpy_support as nps import openmc