[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-dev
Subject:    [Python-Dev] lots of test failures...
From:       skip () pobox ! com (Skip Montanaro)
Date:       2002-08-29 5:49:56
Message-ID: 15725.46596.268649.918014 () 12-248-11-90 ! client ! attbi ! com
[Download RAW message or body]

Just cvs up'd and got a bunch of test failures on my Linux box:

    12 tests failed:
        test___all__ test_cookie test_descrtut test_difflib test_doctest
        test_doctest2 test_generators test_grammar test_inspect
        test_pyclbr test_sundry test_tokenize

Several failed looking for a missing attribute "testmod", e.g.:

    test test_generators crashed -- exceptions.AttributeError: 'module'
    object has no attribute 'testmod'

Here's the test_tokenize output:

    test test_tokenize produced unexpected output:
    **********************************************************************
    *** mismatch between lines 127-138 of expected output and lines 127-138 of actual output:
    - 42,17-42,29:      NUMBER  '020000000000'
    ?          ^^
    + 42,17-42,30:      NUMBER  '020000000000L'
    ?          ^^                      +
    - 42,29-42,30:      NEWLINE '\n'
    ?    ^^     ^
    + 42,30-42,31:      NEWLINE '\n'
    ?    ^^     ^
    - 43,0-43,12:       NUMBER  '037777777777'
    ?          ^
    + 43,0-43,13:       NUMBER  '037777777777L'
    ?          ^                      +
    - 43,13-43,15:      OP      '!='
    ?     ^     ^
    + 43,14-43,16:      OP      '!='
    ?     ^     ^
    - 43,16-43,17:      OP      '-'
    ?     ^     ^
    + 43,17-43,18:      OP      '-'
    ?     ^     ^
    - 43,17-43,18:      NUMBER  '1'
    ?     ^     ^
    + 43,18-43,19:      NUMBER  '1'
    ?     ^     ^
    - 43,18-43,19:      NEWLINE '\n'
    ? ------
    + 43,19-43,20:      NEWLINE '\n'
    ?      ++++++
    - 44,0-44,10:       NUMBER  '0xffffffff'
    ?          ^
    + 44,0-44,11:       NUMBER  '0xffffffffL'
    ?          ^                    +
    - 44,11-44,13:      OP      '!='
    ?     ^     ^
    + 44,12-44,14:      OP      '!='
    ?     ^     ^
    - 44,14-44,15:      OP      '-'
    ?     ^     ^
    + 44,15-44,16:      OP      '-'
    ?     ^     ^
    - 44,15-44,16:      NUMBER  '1'
    ?     ^     ^
    + 44,16-44,17:      NUMBER  '1'
    ?     ^     ^
    - 44,16-44,17:      NEWLINE '\n'
    ?     ^     ^
    + 44,17-44,18:      NEWLINE '\n'
    ?     ^     ^
    **********************************************************************

I'll look more closely in the morning.  It's too late to investigate now.

Skip



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic