Skip to content

Commit

Permalink
Merge pull request #36 from sandrotosi/patch-1
Browse files Browse the repository at this point in the history
MRG: replace relative imports with absolute ones in test_from_notebook.py

This is part of Debian tests, where we run tests against the installed version of a module; being relative imports means tests wont find them, while making them absolute, they are detected properly
  • Loading branch information
matthew-brett committed Jan 24, 2024
2 parents 6c15c42 + 7c80871 commit 5cf2500
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nb2plots/tests/test_from_notebook.py
Expand Up @@ -5,9 +5,9 @@

import nbformat

from ..from_notebook import (convert_nb, convert_nb_fname, to_doctests,
has_mpl_inline, CODE_WITH_OUTPUT)
from ..testing import stripeq
from nb2plots.from_notebook import (convert_nb, convert_nb_fname, to_doctests,
has_mpl_inline, CODE_WITH_OUTPUT)
from nb2plots.testing import stripeq


DATA_PATH = pjoin(dirname(__file__), 'data')
Expand Down

0 comments on commit 5cf2500

Please sign in to comment.