Skip to content

TST: Replace assert_almost_equal checks with assert_allclose in test suite #66

Closed
@Kai-Striega

Description

@Kai-Striega

assert_almost_equal is no longer the recommended way of checking for two numbers that are close to one another due to the inconsistencies in how floating point numbers are handled. It is recommended to use one of assert_allclose, assert_array_almost_equal_nulp or assert_array_max_ulp instead of this function for more consistent floating point comparisons.

This issue is to replace assert_almost_equal with the appropriate check

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueIssues that are suitable for beginners or newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions