This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make test errors Tru64 UNIX V5.1A
Type: Stage:
Components: Build Versions: Python 2.2
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: mmokrejs, muellergm4t9, pieterb
Priority: normal Keywords:

Created on 2003-06-02 10:45 by muellergm4t9, last changed 2022-04-10 16:08 by admin. This issue is now closed.

Messages (3)
msg16226 - (view) Author: Gottfried Mueller (muellergm4t9) Date: 2003-06-02 10:45
What can I do? 
 
1. Test Error 
python Lib/test/test_compile.py 
 
Testing whether compiler catches assignment to 
__debug__ 
Running tests on argument handling 
testing complex args 
1 2 
1 2 
3 4 
1 2 3 
1 2 3 
2 3 4 
testing bad float literals 
testing literals with leading zeroes 
Traceback (most recent call last): 
  File "Lib/test/test_compile.py", line 128, in ? 
    expect_same("0xffffffff", -1) 
  File "Lib/test/test_compile.py", line 90, in expect_same 
    raise TestFailed("eval(%r) gave %r, but expected %r" 
% 
test_support.TestFailed: eval('0xffffffff') gave 
4294967295, but expected -1 
 
2.Test Error 
python Lib/test/test_long.py    
 
long / * % divmod 
long bit-operation identities 
long str/hex/oct/atol 
long miscellaneous operations 
auto-convert int->long on overflow 
long->float overflow 
Traceback (most recent call last): 
  File "Lib/test/test_long.py", line 409, in ? 
    test_float_overflow() 
  File "Lib/test/test_long.py", line 362, in 
test_float_overflow 
    eval(test, namespace) 
  File "<string>", line 0, in ? 
ValueError: invalid literal for float(): 
123451234512345123451234512345123451234 
51234512345123451234512345123451234512345123451234512345123451234512345123451234 
51234512345123451234512345123451234512345123451234512345123451234512345123451234 
5 
 
3. Test Error 
python Lib/test/test_sax.py 
 
Passed test_attrs_empty 
Passed test_attrs_wattr 
Passed test_double_quoteattr 
Passed test_escape_all 
Passed test_escape_basic 
Passed test_escape_extra 
Passed test_expat_attrs_empty 
Passed test_expat_attrs_wattr 
Passed test_expat_dtdhandler 
Passed test_expat_entityresolver 
Passed test_expat_file 
Passed test_expat_incomplete 
Passed test_expat_incremental 
Passed test_expat_incremental_reset 
Passed test_expat_inpsource_filename 
Passed test_expat_inpsource_location 
Passed test_expat_inpsource_stream 
Passed test_expat_inpsource_sysid 
Passed test_expat_locator_noinfo 
Passed test_expat_locator_withinfo 
Passed test_expat_nsattrs_empty 
Passed test_expat_nsattrs_wattr 
Expected: 
[('start', ('http://xml.python.org/1', 'abc'), 'abc'), 
 ('start', ('http://xml.python.org/2', 'def'), 'foo:def'), 
 ('end', ('http://xml.python.org/2', 'def'), 'foo:def'), 
 ('start', ('http://xml.python.org/1', 'ghi'), 'ghi'), 
 ('end', ('http://xml.python.org/1', 'ghi'), 'ghi'), 
 ('end', ('http://xml.python.org/1', 'abc'), 'abc')] 
Received: 
[('start', (u'http://xml.python.org/1', u'abc'), None), 
 ('start', (u'http://xml.python.org/2', u'def'), None), 
 ('end', (u'http://xml.python.org/2', u'def'), None), 
 ('start', (u'http://xml.python.org/1', u'ghi'), None), 
 ('end', (u'http://xml.python.org/1', u'ghi'), None), 
 ('end', (u'http://xml.python.org/1', u'abc'), None)] 
Failed test_expat_nsdecl_pair_diff 
Expected: 
[('start', ('http://xml.python.org/', 'abc'), 'foo:abc'), 
 ('start', ('http://xml.python.org/', 'def'), 'foo:def'), 
 ('end', ('http://xml.python.org/', 'def'), 'foo:def'), 
 ('start', ('http://xml.python.org/', 'ghi'), 'foo:ghi'), 
 ('end', ('http://xml.python.org/', 'ghi'), 'foo:ghi'), 
 ('end', ('http://xml.python.org/', 'abc'), 'foo:abc')] 
Received: 
[('start', (u'http://xml.python.org/', u'abc'), None), 
 ('start', (u'http://xml.python.org/', u'def'), None), 
 ('end', (u'http://xml.python.org/', u'def'), None), 
 ('start', (u'http://xml.python.org/', u'ghi'), None), 
 ('end', (u'http://xml.python.org/', u'ghi'), None), 
 ('end', (u'http://xml.python.org/', u'abc'), None)] 
Failed test_expat_nsdecl_pair_same 
Expected: 
[('start', ('http://xml.python.org/', 'abc'), 'abc'), 
 ('end', ('http://xml.python.org/', 'abc'), 'abc')] 
Received: 
[('start', (u'http://xml.python.org/', u'abc'), None), 
 ('end', (u'http://xml.python.org/', u'abc'), None)] 
Failed test_expat_nsdecl_single 
Passed test_filter_basic 
Passed test_make_parser 
Passed test_make_parser2 
Passed test_nsattrs_empty 
Passed test_nsattrs_wattr 
Passed test_quoteattr_basic 
Passed test_single_double_quoteattr 
Passed test_single_quoteattr 
Passed test_xmlgen_attr_escape 
Passed test_xmlgen_basic 
Passed test_xmlgen_content 
Passed test_xmlgen_content_escape 
Passed test_xmlgen_ignorable 
Passed test_xmlgen_ns 
Passed test_xmlgen_pi 
40 tests, 3 failures 
Traceback (most recent call last): 
  File "Lib/test/test_sax.py", line 707, in ? 
    raise TestFailed, "%d of %d tests failed" % (fails, tests) 
test_support.TestFailed: 3 of 40 tests failed 
 
msg16227 - (view) Author: Martin Mokrejs (mmokrejs) Date: 2003-06-04 14:55
Logged In: YES 
user_id=696559

Try current cvs sources, they work for me on same platform.
msg16228 - (view) Author: PieterB (pieterb) Date: 2003-06-21 19:08
Logged In: YES 
user_id=458461

test_sax fails because it requires expat2 or pyxml, see:
http://sourceforge.net/tracker/?
group_id=5470&atid=105470&func=detail&aid=758504
History
Date User Action Args
2022-04-10 16:08:59adminsetgithub: 38579
2003-06-02 10:45:02muellergm4t9create