Skip to content

Commit cb91ee8

Browse files
authored
fix: Address broken Hypothesis imports (#133)
1 parent 765d1f7 commit cb91ee8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/kio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.0.0a2"
1+
__version__ = "0.0.0a3"

src/kio/static/primitive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
from typing import Final
88
from typing import Self
99

10-
from hypothesis import assume
11-
1210
from ._phantom import Phantom
1311
from ._phantom import Predicate
1412

@@ -128,6 +126,7 @@ class i32Timedelta(
128126
):
129127
@classmethod
130128
def __hypothesis_hook__(cls) -> None: # pragma: no cover
129+
from hypothesis import assume
131130
from hypothesis.strategies import SearchStrategy
132131
from hypothesis.strategies import composite
133132
from hypothesis.strategies import integers
@@ -163,6 +162,7 @@ class i64Timedelta(
163162
):
164163
@classmethod
165164
def __hypothesis_hook__(cls) -> None: # pragma: no cover
165+
from hypothesis import assume
166166
from hypothesis.strategies import SearchStrategy
167167
from hypothesis.strategies import composite
168168
from hypothesis.strategies import integers

0 commit comments

Comments
 (0)