Skip to content

Commit

Permalink
Including import into try clause.
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Aug 9, 2023
1 parent 52fb6a1 commit be58278
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_dpf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@

import pytest

from conftest import skip_if_no_has_dpf

try:
from ansys.dpf import core as dpf
from ansys.dpf.core.server_types import DPF_DEFAULT_PORT

from conftest import skip_if_no_has_dpf

except ImportError:
skip_if_no_has_dpf = pytest.mark.skipif(
True,
Expand Down

0 comments on commit be58278

Please sign in to comment.