Skip to content

Commit

Permalink
remove unreached lines in the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaillard committed Feb 18, 2025
1 parent b3f16a5 commit abc790e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion test/test_conditional_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ def test_error():
X = np.random.randint(0, 2, size=(100, 2))
with pytest.raises(AttributeError):
sampler.fit(np.delete(X, 1, axis=1), X[:, 1])
sampler.sample(np.delete(X, 1, axis=1), X[:, 1])

sampler = ConditionalSampler(
data_type="auto",
Expand Down
1 change: 0 additions & 1 deletion test/test_cpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def test_raises_value_error(
estimator=LinearRegression(),
method="predict",
)
cpi.fit(X, LinearRegression())

# Not fitted imputation model with predict and score methods
with pytest.raises(ValueError):
Expand Down

0 comments on commit abc790e

Please sign in to comment.