8000 Update lib/matplotlib/tests/test_style.py · matplotlib/matplotlib@643b08c · GitHub
[go: up one dir, main page]

Skip to content

Commit 643b08c

Browse files
Update lib/matplotlib/tests/test_style.py
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 parent 2ea5377 commit 643b08c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_style.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def test_use_url(tmpdir):
7070

7171
def test_single_path(tmpdir):
7272
mpl.rcParams[PARAM] = 'gray'
73-
temp_file = '%s.%s' % ('test', STYLE_EXTENSION)
73+
temp_file = f'text.{STYLE_EXTENSION}'
7474
path = Path(tmpdir, temp_file)
7575
path.write_text("{} : {}".format(PARAM, VALUE))
7676
with style.context(path):

0 commit comments

Comments
 (0)
0