Skip to content

Conversation

@Co1lin
Copy link
Contributor

@Co1lin Co1lin commented May 10, 2024

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 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 ganler merged commit de8c082 into evalplus:master May 10, 2024
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