Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / cairocffi / fix_test_scaled_font.patch
blob39ba63cc94d194598fb782ee4a17e22ba5c0f3a4
1 --- a/cairocffi/test_cairo.py 2016-09-01 07:52:33.303180302 +0200
2 +++ b/cairocffi/test_cairo.py 2016-09-01 09:06:19.595701944 +0200
3 @@ -998,7 +998,7 @@
5 font = ScaledFont(ToyFontFace('monospace'))
6 _, _, _, _, x_advance_mono, y_advance = font.text_extents('i' * 10)
7 - assert x_advance_mono > x_advance
8 + assert x_advance_mono >= x_advance
9 assert y_advance == 0
10 # Not much we can test:
11 # The toy font face was "materialized" into a specific backend.