summaryrefslogtreecommitdiff
path: root/tests/test_versioning.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_versioning.py')
-rw-r--r--tests/test_versioning.py14
1 files changed, 1 insertions, 13 deletions
diff --git a/tests/test_versioning.py b/tests/test_versioning.py
index 5c31f0c32..06c4ff2f1 100644
--- a/tests/test_versioning.py
+++ b/tests/test_versioning.py
@@ -16,7 +16,7 @@ from docutils.statemachine import ViewList
from docutils.parsers.rst.directives.html import MetaBody
from sphinx import addnodes
-from sphinx.versioning import make_diff, add_uids, merge_doctrees
+from sphinx.versioning import add_uids, merge_doctrees
def setup_module():
global app, original, original_uids
@@ -36,18 +36,6 @@ doctrees = {}
def on_doctree_resolved(app, doctree, docname):
doctrees[docname] = doctree
-def test_make_diff():
- tests = [
- (('aaa', 'aaa'), (True, False, False)),
- (('aaa', 'aab'), (False, True, False)),
- (('aaa', 'abb'), (False, True, False)),
- (('aaa', 'aba'), (False, True, False)),
- (('aaa', 'baa'), (False, True, False)),
- (('aaa', 'bbb'), (False, False, True))
- ]
- for args, result in tests:
- assert make_diff(*args) == result
-
def is_paragraph(node):
return node.__class__.__name__ == 'paragraph'