Skip to content

Commit 0b4909a

Browse files
committed
FIX small nitpicks
# Conflicts: # lib/matplotlib/tests/test_backend_pgf.py
1 parent d12a3cd commit 0b4909a

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

lib/matplotlib/tests/test_backend_pgf.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,13 @@ def create_figure():
8181

8282

8383
# test compiling a figure to pdf with xelatex
84+
<<<<<<< HEAD
8485
@needs_xelatex
8586
@pytest.mark.style('default')
8687
@pytest.mark.backend('pgf')
88+
=======
89+
@switch_backend('pgf')
90+
>>>>>>> 40d5e418e... FIX small nitpicks
8791
def test_xelatex():
8892
rc_xelatex = {'font.family': 'serif',
8993
'pgf.rcfonts': False}
@@ -93,9 +97,13 @@ def test_xelatex():
9397

9498

9599
# test compiling a figure to pdf with pdflatex
100+
<<<<<<< HEAD
96101
@needs_pdflatex
97102
@pytest.mark.style('default')
98103
@pytest.mark.backend('pgf')
104+
=======
105+
@switch_backend('pgf')
106+
>>>>>>> 40d5e418e... FIX small nitpicks
99107
def test_pdflatex():
100108
import os
101109
if os.environ.get('APPVEYOR', False):
@@ -113,10 +121,14 @@ def test_pdflatex():
113121

114122

115123
# test updating the rc parameters for each figure
124+
<<<<<<< HEAD
116125
@needs_xelatex
117126
@needs_pdflatex
118127
@pytest.mark.style('default')
119128
@pytest.mark.backend('pgf')
129+
=======
130+
@switch_backend('pgf')
131+
>>>>>>> 40d5e418e... FIX small nitpicks
120132
def test_rcupdate():
121133
rc_sets = []
122134
rc_sets.append({'font.family': 'sans-serif',
@@ -145,9 +157,13 @@ def test_rcupdate():
145157

146158

147159
# test backend-side clipping, since large numbers are not supported by TeX
160+
<<<<<<< HEAD
148161
@needs_xelatex
149162
@pytest.mark.style('default')
150163
@pytest.mark.backend('pgf')
164+
=======
165+
@switch_backend('pgf')
166+
>>>>>>> 40d5e418e... FIX small nitpicks
151167
def test_pathclip():
152168
rc_xelatex = {'font.family': 'serif',
153169
'pgf.rcfonts': False}
@@ -162,9 +178,13 @@ def test_pathclip():
162178

163179

164180
# test mixed mode rendering
181+
<<<<<<< HEAD
165182
@needs_xelatex
166183
@pytest.mark.style('default')
167184
@pytest.mark.backend('pgf')
185+
=======
186+
@switch_backend('pgf')
187+
>>>>>>> 40d5e418e... FIX small nitpicks
168188
def test_mixedmode():
169189
rc_xelatex = {'font.family': 'serif',
170190
'pgf.rcfonts': False}
@@ -177,9 +197,13 @@ def test_mixedmode():
177197

178198

179199
# test bbox_inches clipping
200+
<<<<<<< HEAD
180201
@needs_xelatex
181202
@pytest.mark.style('default')
182203
@pytest.mark.backend('pgf')
204+
=======
205+
@switch_backend('pgf')
206+
>>>>>>> 40d5e418e... FIX small nitpicks
183207
def test_bbox_inches():
184208
rc_xelatex = {'font.family': 'serif',
185209
'pgf.rcfonts': False}

0 commit comments

Comments
 (0)