Skip to content

Commit

Permalink
Move the tests on the docs to tests/functional/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Nov 7, 2023
1 parent a30f960 commit 5c22e0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_replace_issue_numbers_with_links(input, output):
sys.version_info < (3, 5), reason="'PosixPath' object has no attribute 'read_text'"
)
def test_update_changelog():
changelog_file = Path(__file__).parent.parent / "CHANGELOG.md"
changelog_file = Path(__file__).parent.parent.parent.parent / "CHANGELOG.md"
cur_text = changelog_file.read_text()
new_text = replace_issue_number_with_links(cur_text)
if cur_text != new_text:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import jupytext
from jupytext.cli import jupytext as jupytext_cli

from .utils import requires_black, requires_myst, requires_user_kernel_python3
from ...utils import requires_black, requires_myst, requires_user_kernel_python3

doc_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "docs")
doc_path = os.path.join(os.path.dirname(__file__), "..", "..", "..", "docs")


@requires_user_kernel_python3
Expand Down

0 comments on commit 5c22e0e

Please sign in to comment.