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

Skip to content

Commit 96e1a8d

Browse files
committed
TST: don't pass Path objects directly into check_call
1 parent 22ac4c8 commit 96e1a8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_backend_nbagg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _notebook_run(nb_file):
1919
subprocess.check_call([
2020
"jupyter", "nbconvert", "--to", "notebook",
2121
"--execute", "--ExecutePreprocessor.timeout=500",
22-
"--output", fout_name,
22+
"--output", os.fspath(fout_name),
2323
os.fspath(nb_file), # convert to str for Windows.
2424
])
2525
with open(fout_name, 'rt') as fout:

0 commit comments

Comments
 (0)