Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc39b1c + b650c67 commit 4bc1ca9Copy full SHA for 4bc1ca9
1 file changed
lib/matplotlib/tests/test_backend_nbagg.py
@@ -1,7 +1,7 @@
1
-
2
-import os
+from pathlib import Path
3
import subprocess
4
import tempfile
+
5
import pytest
6
7
nbformat = pytest.importorskip('nbformat')
@@ -29,5 +29,6 @@ def _notebook_run(nb_file):
29
30
31
def test_ipynb():
32
- nb, errors = _notebook_run('lib/matplotlib/tests/test_nbagg_01.ipynb')
+ nb, errors = _notebook_run(
33
+ str(Path(__file__).parent / 'test_nbagg_01.ipynb'))
34
assert errors == []
0 commit comments