relax text test render threshold
so we pass on win as well, see 981ffe752b (r36581177)
This commit is contained in:
parent
d89df1661a
commit
664796acab
|
@ -394,7 +394,9 @@ class TestCreate:
|
|||
|
||||
# test autofit
|
||||
im = pyvips.Image.text("Hello, world!", width=500, height=500)
|
||||
assert abs(im.width - 500) < 10
|
||||
# quite a large threshold, since we need to work with a huge range of
|
||||
# text rendering systems
|
||||
assert abs(im.width - 500) < 50
|
||||
|
||||
def test_tonelut(self):
|
||||
im = pyvips.Image.tonelut()
|
||||
|
|
Loading…
Reference in New Issue