Patchwork [Bug,5643] New: Test file test-rebase-partial.t broken with Pypy 5.6.0

login
register
mail settings
Submitter mercurial-bugs@mercurial-scm.org
Date July 31, 2017, 12:05 p.m.
Message ID <bug-5643-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/22590/
State Not Applicable
Headers show

Comments

mercurial-bugs@mercurial-scm.org - July 31, 2017, 12:05 p.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=5643

            Bug ID: 5643
           Summary: Test file test-rebase-partial.t broken with Pypy 5.6.0
           Product: Mercurial
           Version: 4.3-rc
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: lothiraldan@gmail.com
                CC: mercurial-devel@mercurial-scm.org

I tried running the Mercurial tests with latest Ubuntu version of Pypy:

Python 2.7.12 (5.6.0+dfsg-4, Nov 20 2016, 17:17:18)
[PyPy 5.6.0 with GCC 6.2.1 20161119]

I get these errors for the test file tests/test-rebase-partial.t, I take a look
at them and I think one data-structure is not sorted the same way in CPython
and Pypy but I have no idea which one.

Patch

diff -r 7bec4def322f -r 44a602611965 tests/test-rebase-partial.t
--- a/tests/test-rebase-partial.t       Thu Jul 27 10:54:34 2017 +0200
+++ b/tests/test-rebase-partial.t       Thu Jul 27 10:54:54 2017 +0200
@@ -58,8 +58,8 @@ 
   rebasing 2:b18e25de2cf5 "D" (D)
   rebasing 3:26805aba1e60 "C" (C tip)
   o  4: Collapsed revision
+  |  * C
   |  * D
-  |  * C
   | x  3: C
   |/
   | x  2: D