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

Skip to content

Commit de3f387

Browse files
harupyQuLogic
andauthored
Update lib/matplotlib/tests/test_sphinxext.py
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 55350ae commit de3f387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_sphinxext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ def plot_directive_file(num):
100100
def test_plot_html_show_source_link(tmpdir):
101101
source_dir = Path(tmpdir) / 'src'
102102
source_dir.mkdir()
103-
shutil.copyfile(Path(__file__).parent / 'tinypages' / "conf.py", source_dir / "conf.py")
104-
shutil.copytree(Path(__file__).parent / 'tinypages' / "_static", source_dir / "_static")
103+
shutil.copyfile(Path(__file__).parent / 'tinypages/conf.py', source_dir)
104+
shutil.copytree(Path(__file__).parent / 'tinypages/_static', source_dir)
105105
doctree_dir = source_dir / 'doctrees'
106106
(source_dir / 'index.rst').write_text("""
107107
.. plot::

0 commit comments

Comments
 (0)