Skip to content

Commit 1872cc5

Browse files
committed
whs: fixed failing test due to numpy/pandas version upgrade
1 parent 48bddff commit 1872cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_JmaCsvCatalog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ def test_JmaCsvCatalog_loading():
4040
# assert (d[0].timestamp() * 1000.) == c.observed_catalog['timestamp'][0]
4141

4242
_datetimes = numpy.ndarray(test_catalog.event_count, dtype='<i8')
43-
_datetimes.fill(numpy.nan)
43+
# _datetimes.fill(numpy.nan)
4444

4545
for _idx, _val in enumerate(_dummy):
4646
_datetimes[_idx] = round(1000. * _val.timestamp())
4747

4848
numpy.testing.assert_allclose(_datetimes, test_catalog.catalog['origin_time'],
4949
err_msg='timestamp mismatch',
50-
verbose=True, rtol=0, atol=0)
50+
verbose=True, rtol=0, atol=0)

0 commit comments

Comments
 (0)