Skip to content

ENH: testing: add assert_close_nulp#758

Merged
lucascolley merged 13 commits into
data-apis:mainfrom
prady0t:close-nulp
May 27, 2026
Merged

ENH: testing: add assert_close_nulp#758
lucascolley merged 13 commits into
data-apis:mainfrom
prady0t:close-nulp

Conversation

@prady0t
Copy link
Copy Markdown
Contributor

@prady0t prady0t commented May 26, 2026

Closes: #755

Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
@lucascolley lucascolley added this to the 0.10.2 milestone May 26, 2026
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
@prady0t prady0t marked this pull request as ready for review May 26, 2026 19:46
@prady0t
Copy link
Copy Markdown
Contributor Author

prady0t commented May 26, 2026

This is up for review.

@lucascolley lucascolley changed the title ENH: Adding assert_almost_equal_nulp ENH: testing: add assert_almost_equal_nulp May 26, 2026
@lucascolley lucascolley added enhancement New feature or request xpx.testing labels May 26, 2026
prady0t and others added 5 commits May 27, 2026 02:01
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
Signed-off-by: Pradyot Ranjan <99216956+pradyotRanjan@users.noreply.github.com>
@lucascolley lucascolley changed the title ENH: testing: add assert_almost_equal_nulp ENH: testing: add assert_close_nulp May 26, 2026
Copy link
Copy Markdown
Member

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks Pradyot! I pushed some minor updates, including using a more concise name in line with our choice for assert_close.

Comment thread tests/test_testing.py Outdated
Comment thread tests/test_testing.py Outdated
Comment thread tests/test_testing.py Outdated
Comment thread tests/test_testing.py Outdated
@lucascolley lucascolley merged commit b7a926f into data-apis:main May 27, 2026
13 checks passed
@lucascolley
Copy link
Copy Markdown
Member

could you take a look at updating the SciPy PR to use this?

@prady0t
Copy link
Copy Markdown
Contributor Author

prady0t commented May 27, 2026

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request xpx.testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: testing: add assert_close_nulp

2 participants