We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
任务需求来自 #44641,细节可以看一下 框架易用性提升——单测报错信息优化
简单来说就是我们当时处理了 self.assertTrue(np.allclose(...)) 这种情况,而没有处理 assert np.allclose(...) 这种情况,这次准备处理下后者啦~
self.assertTrue(np.allclose(...))
assert np.allclose(...)
assert np.allclose
assert np.array_equal
assert np.allclose/np.array_equal
The text was updated successfully, but these errors were encountered:
认领 1 2
Sorry, something went wrong.
认领3
np.testing.assert_allclose
np.testing.assert_array_equal
SigureMo
Successfully merging a pull request may close this issue.
任务描述
任务需求来自 #44641,细节可以看一下 框架易用性提升——单测报错信息优化
简单来说就是我们当时处理了
self.assertTrue(np.allclose(...))
这种情况,而没有处理assert np.allclose(...)
这种情况,这次准备处理下后者啦~任务拆分
assert np.allclose
assert np.array_equal
assert np.allclose/np.array_equal
的监控(可参考 #45126)The text was updated successfully, but these errors were encountered: