Skip to content

Commit

Permalink
import units from gimli
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Feb 4, 2024
1 parent a60756d commit ff57016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bmi_tester/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
from collections.abc import Sequence

try:
import gimli
from gimli import units
except ImportError:
WITH_GIMLI_UNITS = False
SECONDS = None
else:
WITH_GIMLI_UNITS = True
SECONDS = gimli.units.Unit("s")
SECONDS = units.Unit("s")

import pytest

Expand Down

0 comments on commit ff57016

Please sign in to comment.