bb0eaa7
From ea96e5684af98e28e704dc26f12b793c6032ada6 Mon Sep 17 00:00:00 2001
794ddb8
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
794ddb8
Date: Fri, 4 Jun 2021 03:20:38 -0400
19bce65
Subject: [PATCH 4/6] Use new style for test_text_urls_tex.
794ddb8
794ddb8
This test does not depend on the font style, just that the annotation
794ddb8
appears over it. Switching to mpl20 style stops using Helvetica, and
794ddb8
thus avoids the issue with texlive 2021 on Fedora Rawhide.
794ddb8
794ddb8
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
794ddb8
---
794ddb8
 lib/matplotlib/tests/test_backend_pdf.py | 1 +
794ddb8
 1 file changed, 1 insertion(+)
794ddb8
794ddb8
diff --git a/lib/matplotlib/tests/test_backend_pdf.py b/lib/matplotlib/tests/test_backend_pdf.py
794ddb8
index 06bfe1cdb1..548149d19d 100644
794ddb8
--- a/lib/matplotlib/tests/test_backend_pdf.py
794ddb8
+++ b/lib/matplotlib/tests/test_backend_pdf.py
794ddb8
@@ -238,6 +238,7 @@ def test_text_urls():
794ddb8
                 assert annot.Rect[1] == decimal.Decimal(y) * 72
794ddb8
 
794ddb8
 
794ddb8
+@pytest.mark.style('mpl20')
794ddb8
 @needs_usetex
794ddb8
 def test_text_urls_tex():
794ddb8
     pikepdf = pytest.importorskip('pikepdf')
794ddb8
-- 
794ddb8
2.31.1
794ddb8