Rev 2680: Update test documentation in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Tue Aug 7 22:43:44 BST 2007


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 2680
revision-id: pqm at pqm.ubuntu.com-20070807214342-ti2fzm7m9br66daj
parent: pqm at pqm.ubuntu.com-20070807200109-d25wg4bqp97uo9d5
parent: abentley at panoramicfeedback.com-20070807203614-nz9lwqenyyjfd3yc
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2007-08-07 22:43:42 +0100
message:
  Update test documentation
modified:
  bzrlib/tests/test_graph.py     test_graph_walker.py-20070525030405-enq4r60hhi9xrujc-1
    ------------------------------------------------------------
    revno: 1551.2.49.1.40.1.22.1.42.1.31.1.39.1.17.1.83
    merged: abentley at panoramicfeedback.com-20070807203614-nz9lwqenyyjfd3yc
    parent: abentley at panoramicfeedback.com-20070807183310-otmzbpy694aa75am
    committer: Aaron Bentley <abentley at panoramicfeedback.com>
    branch nick: Aaron's integration
    timestamp: Tue 2007-08-07 16:36:14 -0400
    message:
      Update test documentation
=== modified file 'bzrlib/tests/test_graph.py'
--- a/bzrlib/tests/test_graph.py	2007-08-07 18:33:10 +0000
+++ b/bzrlib/tests/test_graph.py	2007-08-07 20:36:14 +0000
@@ -354,9 +354,12 @@
     def test_filter_candidate_lca(self):
         """Test filter_candidate_lca for a corner case
 
-        This tests the case where we encounter the end of iteration for 'd'
-        in the same pass as we discover that 'c' is an ancestor of 'd', and
-        therefore 'd' can't be an lca.
+        This tests the case where we encounter the end of iteration for 'e'
+        in the same pass as we discover that 'd' is an ancestor of 'e', and
+        therefore 'e' can't be an lca.
+
+        To compensate for different dict orderings on other Python
+        implementations, we mirror 'd' and 'e' with 'b' and 'a'.
         """
         # This test is sensitive to the iteration order of dicts.  It will
         # pass incorrectly if 'e' and 'a' sort before 'c'




More information about the bazaar-commits mailing list