From cbb4cb6a5a9cf07c9af90e64f35d57b9c28bc114 Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Fri, 22 Sep 2023 05:48:05 -0500 Subject: [PATCH] Update test_decimal.py --- python/cudf/cudf/tests/test_decimal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/cudf/cudf/tests/test_decimal.py b/python/cudf/cudf/tests/test_decimal.py index da77f6f9c14..30e83be6d37 100644 --- a/python/cudf/cudf/tests/test_decimal.py +++ b/python/cudf/cudf/tests/test_decimal.py @@ -93,13 +93,13 @@ def test_from_arrow_max_precision_decimal32(): ) def test_typecast_from_float_to_decimal(data, from_dtype, to_dtype): got = data.astype(from_dtype) - import pdb;pdb.set_trace() + pa_arr = got.to_arrow().cast( pa.decimal128(to_dtype.precision, to_dtype.scale) ) expected = cudf.Series(Decimal64Column.from_arrow(pa_arr)) - new_got = got.astype(to_dtype) + got = got.astype(to_dtype) assert_eq(new_got, expected)