Skip to content

Commit

Permalink
smaller rel
Browse files Browse the repository at this point in the history
  • Loading branch information
asg017 committed Aug 24, 2024
1 parent 109057d commit da0f89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-loadable.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_lembed():
a = lembed("aaa", "alex garcia")
assert len(a) == (384 * 4)
assert struct.unpack("1f", a[0:4])[0] == pytest.approx(
-0.09205757826566696, rel=1e-3
-0.09205757826566696, rel=1e-2
)

with _raises(
Expand All @@ -138,7 +138,7 @@ def test_lembed():
a = lembed("alex garcia")
assert len(a) == (384 * 4)
assert struct.unpack("1f", a[0:4])[0] == pytest.approx(
-0.09205757826566696, rel=1e-3
-0.09205757826566696, rel=1e-2
)


Expand Down

0 comments on commit da0f89f

Please sign in to comment.