Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/test_versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from docutils.utils import DependencyList

from sphinx.testing.util import SphinxTestApp
from sphinx.versioning import add_uids, get_ratio, merge_doctrees
from sphinx.versioning import VERSIONING_RATIO, add_uids, get_ratio, merge_doctrees

TYPE_CHECKING = False
if TYPE_CHECKING:
Expand Down Expand Up @@ -52,8 +52,8 @@ def is_paragraph(node: nodes.Node) -> bool:


def test_get_ratio() -> None:
assert get_ratio('', 'a')
assert get_ratio('a', '')
assert get_ratio('', 'a') == VERSIONING_RATIO
assert get_ratio('a', '') == VERSIONING_RATIO


def test_add_uids() -> None:
Expand Down
Loading