[Bug 4999] New: test-doctest.py failure on OS X

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Dec 12 18:53:42 UTC 2015


https://bz.mercurial-scm.org/show_bug.cgi?id=4999

            Bug ID: 4999
           Summary: test-doctest.py failure on OS X
           Product: Mercurial
           Version: default branch
          Hardware: Macintosh
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gregory.szorc at gmail.com
                CC: mercurial-devel at selenic.com, mpm at selenic.com

I'm currently seeing a regression in test-doctest.py on OS X with Python 2.7.11
(also reproduced on 2.7.10 and presumably earlier versions):

--- /Users/gps/src/hg/tests/test-doctest.py.out
+++ /Users/gps/src/hg/tests/test-doctest.py.err
@@ -0,0 +1,12 @@
+**********************************************************************
+File
"/private/var/folders/20/0m2k6lq56kdf4q_kdgzmhjkw0000gn/T/hgtests.63B5tc/install/lib/python/mercurial/posix.py",
line 256, in mercurial.posix.normcase
+Failed example:
+    normcase('���ʾ�.JPG') # issue3918
+Expected:
+    '%b8%ca%c3\xca\xbe%c8.jpg'
+Got:
+    ''
+**********************************************************************
+1 items had failures:
+   1 of   4 in mercurial.posix.normcase
+***Test Failed*** 1 failures.

Bisection says the following changeset is responsible:

# HG changeset patch
# User Matt Mackall <mpm at selenic.com>
# Date 1446764940 21600
#      Thu Nov 05 17:09:00 2015 -0600
# Node ID b8381832ce2b4e791ba7bb6d0822e82203475d8e
# Parent  cf47bdb2183caaaa5daa2acb0d7ab7e88c12b9f9
posix: use getutf8char to handle OS X filename percent-escaping

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list