Skip to content

Commit

Permalink
Update python/cudf/cudf/tests/test_scalar.py
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar authored Jan 25, 2025
1 parent 843c36f commit e625228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cudf/cudf/tests/test_scalar.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def test_device_scalar_direct_construction(value, decimal_type):
else decimal_type._from_decimal(value)
)

s = cudf._lib.scalar.DeviceScalar(value, dtype)
s = cudf.Scalar(value, dtype)

assert s.value == value or np.isnan(s.value) and np.isnan(value)
if isinstance(
Expand Down

0 comments on commit e625228

Please sign in to comment.