Skip to content

Commit 22330b5

Browse files
committed
1 parent c085461 commit 22330b5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

properties/test_encode_decode.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44
These ones pass, just as you'd hope!
55
66
"""
7-
import pytest # isort:skip
7+
import pytest
8+
9+
pytest.importorskip("hypothesis")
10+
# isort: split
811

9-
pytest.importorskip("hypothesis") # isort:split
1012
import hypothesis.extra.numpy as npst
1113
import hypothesis.strategies as st
1214
from hypothesis import given
1315

1416
import xarray as xr
1517

16-
1718
an_array = npst.arrays(
1819
dtype=st.one_of(
1920
npst.unsigned_integer_dtypes(), npst.integer_dtypes(), npst.floating_dtypes()

0 commit comments

Comments
 (0)