Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit 161526b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ca22a68 commit 161526b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/validation/test_check_for_nans.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
from ocf_datapipes.validation import CheckNaNs
2-
import pytest
31
import numpy as np
2+
import pytest
3+
4+
from ocf_datapipes.validation import CheckNaNs
5+
46

57
def test_check_nans_fail_dataarray(topo_dp):
68
topo_dp = CheckNaNs(topo_dp)
79
with pytest.raises(Exception):
810
next(iter(topo_dp))
911

12+
1013
def test_check_nans_fill(topo_dp):
1114
topo_dp = CheckNaNs(topo_dp, fill_nans=True)
1215
data = next(iter(topo_dp))

0 commit comments

Comments
 (0)