Skip to content

Commit

Permalink
mark optional import with pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Apr 23, 2024
1 parent 550e44f commit 750b531
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cf_units/tests/integration/parse/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# This file is part of cf-units and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import pytest

antlr4 = pytest.importorskip("antlr4")

import cf_units._udunits2_parser.graph as g
from cf_units._udunits2_parser import parse
Expand Down
3 changes: 3 additions & 0 deletions cf_units/tests/integration/parse/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# This file is part of cf-units and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import pytest

antlr4 = pytest.importorskip("antlr4")

import re

Expand Down
3 changes: 3 additions & 0 deletions cf_units/tests/test_tex.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#
# This file is part of cf-units and is released under the BSD license.
# See LICENSE in the root of the repository for full licensing details.
import pytest

antlr4 = pytest.importorskip("antlr4")

from cf_units.tex import tex

Expand Down

0 comments on commit 750b531

Please sign in to comment.