summaryrefslogtreecommitdiff
path: root/tests/test_versioning.py
diff options
context:
space:
mode:
authorDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-15 21:25:31 +0200
committerDaniel Neuhäuser <ich@danielneuhaeuser.de>2010-08-15 21:25:31 +0200
commite68b1cacd077f49bafa84b95103945b19910993c (patch)
treeb9cfc949f23612da0d725efdc5413edf047bd96e /tests/test_versioning.py
parentad5b5c740b3c6af1f6a84af7bfa9f41f6c9c69d2 (diff)
downloadsphinx-git-e68b1cacd077f49bafa84b95103945b19910993c.tar.gz
Optimized merging algorithm
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'