Commit 622a6ec6 authored by Shanqing Cai's avatar Shanqing Cai Committed by TensorFlower Gardener
Browse files

Replace assertAlmostEqual with assertAllClose in boosted_trees losses_test.py

Calling assertAlmostEqual() with the places kwarg on numpy.ndarray leads to calling __round__ on numpy.ndarray, which is no consistently defined for all relevant platforms and numpy versions.

PiperOrigin-RevId: 176723366
parent ebd26397
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment