Skip to content

Commit

Permalink
changed blockgenerator signature in test_block_resampler
Browse files Browse the repository at this point in the history
  • Loading branch information
Sankalp Gilda committed Oct 16, 2024
1 parent 9f4ce64 commit ad3b91c
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/test_block_resampler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
from pprint import pprint

import numpy as np
import pytest
from hypothesis import given, settings
Expand Down Expand Up @@ -28,10 +26,10 @@ def block_generator(
rng = np.random.default_rng()
#
block_generator = BlockGenerator(
block_length_sampler,
input_length,
wrap_around_flag,
rng,
block_length_sampler=block_length_sampler,
input_length=input_length,
wrap_around_flag=wrap_around_flag,
rng=rng,
overlap_length=overlap_length,
min_block_length=min_block_length,
)
Expand Down Expand Up @@ -459,8 +457,6 @@ def test_valid_inputs(
class TestFailingCases:
"""Test cases where resample_block_indices_and_data should raise exceptions."""

pass


# TODO: tapered_weights is a valid callable
# TODO: X_bootstrapped when tapered_weights is uniform is a subset of X

0 comments on commit ad3b91c

Please sign in to comment.