Skip to content

Commit 0451b8b

Browse files
committed
iter
1 parent 6a37a07 commit 0451b8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# Linux environment to test the latest available dependencies and MKL.
3333
pylatest_pip_openblas_pandas:
3434
DISTRIB: 'conda-pip-latest'
35-
PYTHON_VERSION: '3.8'
35+
PYTHON_VERSION: '3.9'
3636
COVERAGE: 'true'
3737
PANDAS_VERSION: '*'
3838
TEST_DOCSTRINGS: 'true'

imblearn/utils/estimator_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def check_samplers_sparse(name, sampler_orig):
258258
sampler = clone(sampler)
259259
X_res, y_res = sampler.fit_resample(X, y)
260260
assert sparse.issparse(X_res_sparse)
261-
assert_allclose(X_res_sparse.A, X_res)
261+
assert_allclose(X_res_sparse.A, X_res, rtol=1e-5)
262262
assert_allclose(y_res_sparse, y_res)
263263

264264

0 commit comments

Comments
 (0)