Skip to content

Commit

Permalink
Fix SonarQube reliability issue
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurvd committed Dec 9, 2024
1 parent 09147d4 commit 093e8a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/dflowfm/test_tim.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import math
from pathlib import Path

import pytest
Expand Down Expand Up @@ -228,7 +229,7 @@ def test_test_fortran_d_exponent_supported(self):
tim_model = TimModel(input_path)
assert tim_model.timeseries[0].time == 0
assert tim_model.timeseries[0].data == [1.0, 270.0]
assert tim_model.timeseries[1].time == 9e9
assert math.isclose(tim_model.timeseries[1].time, 9e9)
assert tim_model.timeseries[1].data == [1.0, 270.0]


Expand Down

0 comments on commit 093e8a4

Please sign in to comment.