mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-16 11:12:25 +03:00
Increase tolerance for almost equal checks in textcat regression test
This commit is contained in:
parent
c4af89f956
commit
67c6ef2b2a
|
@ -49,8 +49,8 @@ def test_issue5551(textcat_config):
|
|||
# All results should be the same because of the fixed seed
|
||||
assert len(results) == 3
|
||||
ops = get_current_ops()
|
||||
assert_almost_equal(ops.to_numpy(results[0]), ops.to_numpy(results[1]))
|
||||
assert_almost_equal(ops.to_numpy(results[0]), ops.to_numpy(results[2]))
|
||||
assert_almost_equal(ops.to_numpy(results[0]), ops.to_numpy(results[1]), decimal=5)
|
||||
assert_almost_equal(ops.to_numpy(results[0]), ops.to_numpy(results[2]), decimal=5)
|
||||
|
||||
|
||||
def test_issue5838():
|
||||
|
|
Loading…
Reference in New Issue
Block a user