Skip to content

Commit

Permalink
get rid of type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
j-faria committed Jan 15, 2025
1 parent c28618e commit 175bc31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ def loc_scale():
return loc, scale

@pytest.fixture
def number(n=1) -> np.ndarray:
def number(n=1):
def gen_number(n=1):
return np.random.uniform(-20, 20, size=n)
return gen_number

@pytest.fixture
def positive(n=1) -> np.ndarray | Callable[[int], np.ndarray]:
def positive(n=1):
def gen_positive(n=1):
return np.random.uniform(0, 10, size=n)
return gen_positive
Expand Down

0 comments on commit 175bc31

Please sign in to comment.