diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/cairocffi/fix_test_scaled_font.patch')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/cairocffi/fix_test_scaled_font.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/cairocffi/fix_test_scaled_font.patch b/nixpkgs/pkgs/development/python-modules/cairocffi/fix_test_scaled_font.patch new file mode 100644 index 000000000000..39ba63cc94d1 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/cairocffi/fix_test_scaled_font.patch @@ -0,0 +1,11 @@ +--- a/cairocffi/test_cairo.py 2016-09-01 07:52:33.303180302 +0200 ++++ b/cairocffi/test_cairo.py 2016-09-01 09:06:19.595701944 +0200 +@@ -998,7 +998,7 @@ + + font = ScaledFont(ToyFontFace('monospace')) + _, _, _, _, x_advance_mono, y_advance = font.text_extents('i' * 10) +- assert x_advance_mono > x_advance ++ assert x_advance_mono >= x_advance + assert y_advance == 0 + # Not much we can test: + # The toy font face was "materialized" into a specific backend. |