Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce0c5e0

Browse files
tacaswellanntzer
authored andcommitted
TST: add a force to a use call to be safe
1 parent adfb193 commit ce0c5e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_backend_svg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def test_determinism(filename, usetex):
139139
[sys.executable, '-R', '-c',
140140
'import matplotlib; '
141141
'matplotlib._called_from_pytest = True; '
142-
'matplotlib.use("svg"); '
142+
'matplotlib.use("svg", force=True); '
143143
'from matplotlib.tests.test_backend_svg '
144144
'import _test_determinism_save;'
145145
'_test_determinism_save(%r, %r)' % (filename, usetex)],

0 commit comments

Comments
 (0)