Merge pull request #25303 from ankush/fix_bom_test

test: ignore floating point errors in test_bom