FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: showing the only and the last fail test, `is_float` by Co1lin · Pull Request #196 · evalplus/evalplus · GitHub

fix: showing the only and the last fail test, is_float - #196

Merged
ganler merged 3 commits into
evalplus:masterfrom
Co1lin:master
May 10, 2024
Merged

fix: showing the only and the last fail test, is_float#196
ganler merged 3 commits into
evalplus:masterfrom
Co1lin:master

Conversation

Co1lin commented May 10, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

Fix the following issues:

import numpy as np

assert all(isinstance(i, float) for i in []) == True

assert np.allclose([], [1.1], rtol=1e-07, atol=1e-6) == True
assert np.allclose(1.1, [1.1], rtol=1e-07, atol=1e-6) == True

Co1lin changed the title fix: a bug when showing the only and the last fail test fix: showing the only and the last fail test, is_float May 10, 2024
ganler merged commit de8c082 into evalplus:master May 10, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL