Patchwork [3,of,5] py3: byteify gendoc.py

login
register
mail settings
Submitter Matt Harbison
Date Dec. 19, 2018, 10:45 p.m.
Message ID <op.zuaj5xhy9lwrgf@envy>
Download mbox | patch
Permalink /patch/37254/
State New
Headers show

Comments

Matt Harbison - Dec. 19, 2018, 10:45 p.m.
On Wed, 19 Dec 2018 17:39:18 -0500, Matt Harbison <mharbison72@gmail.com>  
wrote:

> # HG changeset patch
> # User Matt Harbison <matt_harbison@yahoo.com>
> # Date 1545185847 18000
> #      Tue Dec 18 21:17:27 2018 -0500
> # Node ID 7935c7f28f9d098fa76d207e70455260a42e3190
> # Parent  c96002c3968f7f74bfe68c5bacb1ba717a58e290
> py3: byteify gendoc.py

Before patches 3-5, all of the gendoc tests were failing.  (The buildbot  
is missing requirements to run them.)  Afterward, 9 of 13 pass.  But 4  
still fail for py3 with errors like this:


ERROR: test-gendoc-da.t output changed

That makes me think something is wrong with the gendoc.txt file generated  
by this module.  py2 still works.

Patch

--- c:/Users/Matt/hg/tests/test-gendoc-da.t
+++ c:/Users/Matt/hg/tests/test-gendoc-da.t.err
@@ -2,3 +2,19 @@ 

    $ $TESTDIR/check-gendoc da
    checking for parse errors
+  gendoc.txt:3516: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  Milj\xc3\xb8variable\r (esc)
+  """""""""""""\r (esc)
+  gendoc.txt:3516: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  Milj\xc3\xb8variable\r (esc)
+  """""""""""""\r (esc)
+  gendoc.txt:5127: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  M\xc3\xb8nstre for filnavne\r (esc)
+  """"""""""""""""""""\r (esc)
+  gendoc.txt:5127: (WARNING/2) Title underline too short.\r (esc)
+  \r (esc)
+  M\xc3\xb8nstre for filnavne\r (esc)
+  """"""""""""""""""""\r (esc)