Skip to content

Commit da0f89f

Browse files
committed
smaller rel
1 parent 109057d commit da0f89f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test-loadable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def test_lembed():
120120
a = lembed("aaa", "alex garcia")
121121
assert len(a) == (384 * 4)
122122
assert struct.unpack("1f", a[0:4])[0] == pytest.approx(
123-
-0.09205757826566696, rel=1e-3
123+
-0.09205757826566696, rel=1e-2
124124
)
125125

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

144144

0 commit comments

Comments
 (0)