Skip to content

Commit cbd69b2

Browse files
committed
uncomment some key test code
Signed-off-by: Erik Ordentlich <[email protected]>
1 parent eb0763c commit cbd69b2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

python/tests/test_kmeans.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def assert_cuml_spark_model(
283283

284284

285285
def test_kmeans_basic_repartition(
286-
gpu_number: int, tmp_path: str # , caplog: LogCaptureFixture
286+
gpu_number: int, tmp_path: str, caplog: LogCaptureFixture
287287
) -> None:
288288
# reduce the number of GPUs for toy dataset to avoid empty partition
289289
gpu_number = min(gpu_number, 2)
@@ -303,7 +303,10 @@ def test_kmeans_basic_repartition(
303303
)
304304

305305
kmeans_model = kmeans.fit(df)
306-
# assert("Barrier rdd error encountered with input dataset. Retrying with repartitioning." in caplog.text)
306+
assert (
307+
"Barrier rdd error encountered with input dataset. Retrying with repartitioning."
308+
in caplog.text
309+
)
307310

308311

309312
@pytest.mark.parametrize("data_type", ["byte", "short", "int", "long"])

0 commit comments

Comments
 (0)