[Python-3000-checkins] Python Regression Test Failures basics (1)

Neal Norwitz nnorwitz at gmail.com
Sun Jul 1 14:52:20 CEST 2007


test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_aepack
test_aepack skipped -- No module named aepack
test_anydbm
test_applesingle
test_applesingle skipped -- No module named macostools
test_array
test_ast
test_asynchat
test_atexit
test_audioop
test_augassign
test_base64
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_bisect.py", line ?, in test.test_bisect.__test__.libreftest
Failed example:
    map(grade, [33, 99, 77, 44, 12, 88])
Expected:
    ['E', 'A', 'B', 'D', 'F', 'A']
Got:
    <itertools.imap object at 0xb70e4f84>
**********************************************************************
1 items had failures:
   1 of   6 in test.test_bisect.__test__.libreftest
***Test Failed*** 1 failures.
test test_bisect failed -- 1 of 6 doctests failed
test_bool
test_bsddb
test_bsddb3
test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
test_buffer
test_bufio
test_bytes
test test_bytes failed -- errors occurred; run in verbose mode for details
test_bz2
test_cProfile
test_calendar
test_call
test_capi
test_cfgparser
test_cgi
test test_cgi failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_cgi.py", line 181, in test_strict
    first_elts(norm(expect.values())))
AssertionError: ['a'] != <itertools.imap object at 0xb70173ec>

test_charmapcodec
test_class
test_cmath
test_cmd_line
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_cn skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_hk
test_codecmaps_hk skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_jp
test_codecmaps_jp skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_kr
test_codecmaps_kr skipped -- Use of the `urlfetch' resource not enabled
test_codecmaps_tw
test_codecmaps_tw skipped -- Use of the `urlfetch' resource not enabled
test_codecs
test test_codecs failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_codecs.py", line 843, in test_nameprep
    raise test_support.TestFailed("Test 3.%d: %s" % (pos+1, str(e)))
test.test_support.TestFailed: Test 3.42: Violation of BIDI requirement 2

test_codeop
test_coding
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_complex
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_crypt
test_csv
test test_csv failed -- errors occurred; run in verbose mode for details
test_ctypes
test_curses
test_curses skipped -- Use of the `curses' resource not enabled
test_datetime
test test_datetime failed -- errors occurred; run in verbose mode for details
test_dbm
test_decimal
test test_decimal failed -- errors occurred; run in verbose mode for details
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_dictviews
test_difflib
test test_difflib failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 2107, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for difflib.SequenceMatcher.get_grouped_opcodes
  File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 583, in get_grouped_opcodes

----------------------------------------------------------------------
File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 591, in difflib.SequenceMatcher.get_grouped_opcodes
Failed example:
    b = a[:]
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest difflib.SequenceMatcher.get_grouped_opcodes[2]>", line 1, in <module>
        b = a[:]
    TypeError: 'itertools.imap' object is unsubscriptable
----------------------------------------------------------------------
File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 592, in difflib.SequenceMatcher.get_grouped_opcodes
Failed example:
    b[8:8] = ['i']     # Make an insertion
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest difflib.SequenceMatcher.get_grouped_opcodes[3]>", line 1, in <module>
        b[8:8] = ['i']     # Make an insertion
    NameError: name 'b' is not defined
----------------------------------------------------------------------
File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 593, in difflib.SequenceMatcher.get_grouped_opcodes
Failed example:
    b[20] += 'x'       # Make a replacement
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest difflib.SequenceMatcher.get_grouped_opcodes[4]>", line 1, in <module>
        b[20] += 'x'       # Make a replacement
    NameError: name 'b' is not defined
----------------------------------------------------------------------
File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 594, in difflib.SequenceMatcher.get_grouped_opcodes
Failed example:
    b[23:28] = []      # Make a deletion
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest difflib.SequenceMatcher.get_grouped_opcodes[5]>", line 1, in <module>
        b[23:28] = []      # Make a deletion
    NameError: name 'b' is not defined
----------------------------------------------------------------------
File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 595, in difflib.SequenceMatcher.get_grouped_opcodes
Failed example:
    b[30] += 'y'       # Make another replacement
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest difflib.SequenceMatcher.get_grouped_opcodes[6]>", line 1, in <module>
        b[30] += 'y'       # Make another replacement
    NameError: name 'b' is not defined
----------------------------------------------------------------------
File "/tmp/python-test-3.0/local/lib/python3.0/difflib.py", line 596, in difflib.SequenceMatcher.get_grouped_opcodes
Failed example:
    pprint(list(SequenceMatcher(None,a,b).get_grouped_opcodes()))
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest difflib.SequenceMatcher.get_grouped_opcodes[7]>", line 1, in <module>
        pprint(list(SequenceMatcher(None,a,b).get_grouped_opcodes()))
    NameError: name 'b' is not defined


test_dircache
test_dis
test_distutils
test test_distutils failed -- errors occurred; run in verbose mode for details
test_dl
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_errno
test_exception_variations
test_extcall
test test_extcall crashed -- <type 'TypeError'>: can only concatenate list (not "itertools.imap") to list
test_fcntl
test_file
test_filecmp
test test_filecmp failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_filecmp.py", line 106, in test_dircmp
    self.failUnless(d.common == ['file'])
AssertionError

test_fileinput
test_fileio
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_frozen
test_ftplib
test_funcattrs
test_functools
test test_functools failed -- errors occurred; run in verbose mode for details
test_future
test_gc
test_gdbm
test_generators
test_genericpath
test_genexps
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_genexps.py", line ?, in test.test_genexps.__test__.doctests
Failed example:
    int(max(tupleids) - min(tupleids))
Exception raised:
    Traceback (most recent call last):
      File "/tmp/python-test-3.0/local/lib/python3.0/doctest.py", line 1207, in __run
        compileflags, 1), test.globs)
      File "<doctest test.test_genexps.__test__.doctests[39]>", line 1, in <module>
        int(max(tupleids) - min(tupleids))
    ValueError: min() arg is an empty sequence
**********************************************************************
1 items had failures:
   1 of  75 in test.test_genexps.__test__.doctests
***Test Failed*** 1 failures.
test test_genexps failed -- 1 of 75 doctests failed
test_getargs
test_getargs2
test_getopt
test_gettext
test_glob
test_global
test_grp
test test_grp failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_grp.py", line 58, in test_errors
    for i in range(len(chars)):
TypeError: object of type 'itertools.imap' has no len()

test_gzip
test_hash
test test_hash failed -- errors occurred; run in verbose mode for details
test_hashlib
test_heapq
test test_heapq failed -- errors occurred; run in verbose mode for details
test_hexoct
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_imaplib
test_imp
test_import
test_importhooks
test_index
test_inspect
test test_inspect failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_inspect.py", line 46, in test_thirteen
    count = len(filter(lambda x:x.startswith('is'), dir(inspect)))
TypeError: object of type 'itertools.ifilter' has no len()

test_io
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test test_iter failed -- errors occurred; run in verbose mode for details
test_iterlen
test_itertools
test test_itertools failed -- errors occurred; run in verbose mode for details
test_keywordonlyarg
test_largefile
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_listcomps
test_locale
test_logging
test test_logging crashed -- <type 'AttributeError'>: 'itertools.imap' object has no attribute 'remove'
test_long
test test_long crashed -- <type 'AttributeError'>: 'itertools.imap' object has no attribute 'append'
test_long_future
test_longexp
test_macostools
test_macostools skipped -- No module named macostools
test_macpath
test_mailbox
test test_mailbox failed -- errors occurred; run in verbose mode for details
test_marshal
test_math
test_metaclass
test_mhlib
test test_mhlib failed -- errors occurred; run in verbose mode for details
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test test_multibytecodec failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_multibytecodec.py", line 219, in test_iso2022_jp_g0
    self.failIf(filter(lambda x: x >= '\x80', e))
AssertionError

test_multibytecodec_support
test_multifile
test_mutants
test_netrc
test_new
test_nis
test_normalization
test_normalization skipped -- Use of the `urlfetch' resource not enabled
test_ntpath
test_old_mailbox
test test_old_mailbox failed -- errors occurred; run in verbose mode for details
test_openpty
test_operator
test test_operator failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_operator.py", line 396, in test_itemgetter
    self.assertEqual(map(getcount, inventory), [3, 2, 5, 1])
AssertionError: <itertools.imap object at 0xb5eb5c04> != [3, 2, 5, 1]

test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
test_pickle
test_pickletools
test_pkg
test_pkgimport
test_platform
test_plistlib
test_plistlib skipped -- No module named plistlib
test_poll
test_popen
[12922 refs]
[12922 refs]
[12922 refs]
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_profile
test_profilehooks
test_pty
test_pwd
test test_pwd failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_pwd.py", line 63, in test_errors
    for i in range(len(chars)):
TypeError: object of type 'itertools.imap' has no len()

test_pyclbr
test_pyexpat
test_queue
test_quopri
[13806 refs]
[13806 refs]
test_random
test_re
test_repr
test_resource
test_rfc822
test_richcmp
test_robotparser
test_runpy
test_sax
test_scope
test_scriptpackages
test_scriptpackages skipped -- No module named aetools
test_select
test_set
test_setcomps
test_sgmllib
test_shelve
test_shlex
test_shutil
test_signal
test_site
test_slice
test_smtplib
test_socket
test_socket_ssl
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_sort
test_sqlite
test_startfile
test_startfile skipped -- cannot import name startfile
test_str
test_strftime
test_string
test_stringprep
test_strptime
test_struct
test_structmembers
test_structseq
test_subprocess
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[16238 refs]
[13132 refs]
[12916 refs]
[12917 refs]
[12916 refs]
[12916 refs]
[12916 refs]
[12916 refs]
.
[12916 refs]
[12916 refs]
    this bit of output is from a test of stdout in a different process ...
[12916 refs]
[12916 refs]
[13132 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_super
test_symtable
test_syntax
test_sys
[12916 refs]
[12916 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test_tempfile
[12921 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
test_threading_local
test_threadsignals
test_time
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tokenize
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_tokenize.py", line 148, in test.test_tokenize.decistmt
Failed example:
    exec(decistmt(s))
Expected:
    -3.217160342717258261933904529E-7
Got:
    -0E-9
**********************************************************************
1 items had failures:
   1 of   5 in test.test_tokenize.decistmt
***Test Failed*** 1 failures.
test test_tokenize failed -- 1 of 12 doctests failed
test_trace
test_traceback
test_tuple
test_typechecks
test_ucn
test_unary
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_unpack
test_unpack_ex
test_urllib
test_urllib2
test test_urllib2 failed -- Traceback (most recent call last):
  File "/tmp/python-test-3.0/local/lib/python3.0/test/test_urllib2.py", line 572, in test_ftp
    r = h.ftp_open(req)
  File "/tmp/python-test-3.0/local/lib/python3.0/urllib2.py", line 1268, in ftp_open
    dirs, file = dirs[:-1], dirs[-1]
TypeError: 'itertools.imap' object is unsubscriptable

test_urllib2_localnet
test_urllib2net
test_urllib2net skipped -- Use of the `network' resource not enabled
test_urllibnet
test_urllibnet skipped -- Use of the `network' resource not enabled
test_urlparse
test_userdict
test_userlist
test_userstring
test_uu
test_uuid
    WARNING: uuid.getnode is unreliable on many platforms.
        It is disabled until the code and/or test can be fixed properly.
    WARNING: uuid._ifconfig_getnode is unreliable on many platforms.
        It is disabled until the code and/or test can be fixed properly.
    WARNING: uuid._unixdll_getnode is unreliable on many platforms.
        It is disabled until the code and/or test can be fixed properly.
test_wait3
test_wait4
test_warnings
test_wave
test_weakref
test test_weakref failed -- errors occurred; run in verbose mode for details
test_whichdb
test_winreg
test_winreg skipped -- No module named _winreg
test_winsound
test_winsound skipped -- No module named winsound
test_with
test_wsgiref
test_xdrlib
test_xml_etree
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 133, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb62c2c74>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 135, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("*"))
Expected:
    ['tag', 'tag', 'section']
Got:
    <itertools.imap object at 0xb62c2b5c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 137, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall(".//tag"))
Expected:
    ['tag', 'tag', 'tag']
Got:
    <itertools.imap object at 0xb62c20a4>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 139, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("section/tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c230c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 141, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("section//tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c22d4>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 143, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("section/*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c27a4>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 145, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("section//*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c2034>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 147, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("section/.//*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c2b24>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 149, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("*/*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c206c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 151, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("*//*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb62c299c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 153, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("*/tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fd4c3c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 155, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("*/./tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fd4fbc>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 157, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("./tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fd4344>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 159, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall(".//tag"))
Expected:
    ['tag', 'tag', 'tag']
Got:
    <itertools.imap object at 0xb5fd4dfc>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 161, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("././tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fd4e6c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 163, in test.test_xml_etree.find
Failed example:
    summarize_list(ET.ElementTree(elem).findall("/tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fd4d54>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 165, in test.test_xml_etree.find
Failed example:
    summarize_list(ET.ElementTree(elem).findall("./tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fd46c4>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 168, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("tag"))
Expected:
    []
Got:
    <itertools.imap object at 0xb62c23ec>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 170, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall("{http://effbot.org/ns}tag"))
Expected:
    ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag']
Got:
    <itertools.imap object at 0xb62c245c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree.py", line 172, in test.test_xml_etree.find
Failed example:
    summarize_list(elem.findall(".//{http://effbot.org/ns}tag"))
Expected:
    ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag']
Got:
    <itertools.imap object at 0xb62c23b4>
**********************************************************************
1 items had failures:
  20 of  33 in test.test_xml_etree.find
***Test Failed*** 20 failures.
test test_xml_etree failed -- 20 of 96 doctests failed
test_xml_etree_c
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 127, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb60c07dc>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 129, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("*"))
Expected:
    ['tag', 'tag', 'section']
Got:
    <itertools.imap object at 0xb60c037c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 131, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall(".//tag"))
Expected:
    ['tag', 'tag', 'tag']
Got:
    <itertools.imap object at 0xb5fca034>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 133, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("section/tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb60c0a0c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 135, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("section//tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fcaf84>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 137, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("section/*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fca3b4>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 139, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("section//*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fca034>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 141, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("section/.//*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb60c0a0c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 143, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("*/*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fcaf84>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 145, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("*//*"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb60c0a0c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 147, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("*/tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb5fcaf84>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 149, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("*/./tag"))
Expected:
    ['tag']
Got:
    <itertools.imap object at 0xb60c0dfc>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 151, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("./tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fcaf84>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 153, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall(".//tag"))
Expected:
    ['tag', 'tag', 'tag']
Got:
    <itertools.imap object at 0xb60c0a0c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 155, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("././tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fcaf84>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 157, in test.test_xml_etree_c.find
Failed example:
    summarize_list(ET.ElementTree(elem).findall("/tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb60c0dfc>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 159, in test.test_xml_etree_c.find
Failed example:
    summarize_list(ET.ElementTree(elem).findall("./tag"))
Expected:
    ['tag', 'tag']
Got:
    <itertools.imap object at 0xb5fcaf84>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 162, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("tag"))
Expected:
    []
Got:
    <itertools.imap object at 0xb60c03b4>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 164, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall("{http://effbot.org/ns}tag"))
Expected:
    ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag']
Got:
    <itertools.imap object at 0xb60c037c>
**********************************************************************
File "/tmp/python-test-3.0/local/lib/python3.0/test/test_xml_etree_c.py", line 166, in test.test_xml_etree_c.find
Failed example:
    summarize_list(elem.findall(".//{http://effbot.org/ns}tag"))
Expected:
    ['{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag', '{http://effbot.org/ns}tag']
Got:
    <itertools.imap object at 0xb60c029c>
**********************************************************************
1 items had failures:
  20 of  32 in test.test_xml_etree_c.find
***Test Failed*** 20 failures.
test test_xml_etree_c failed -- 20 of 83 doctests failed
test_xmlrpc
test_xpickle
test_xrange
test_zipfile
test test_zipfile failed -- errors occurred; run in verbose mode for details
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zlib
258 tests OK.
33 tests failed:
    test_bisect test_bytes test_cgi test_codecs test_csv test_datetime
    test_decimal test_difflib test_distutils test_extcall test_filecmp
    test_functools test_genexps test_grp test_hash test_heapq
    test_inspect test_iter test_itertools test_logging test_long
    test_mailbox test_mhlib test_multibytecodec test_old_mailbox
    test_operator test_pwd test_tokenize test_urllib2 test_weakref
    test_xml_etree test_xml_etree_c test_zipfile
28 tests skipped:
    test_aepack test_applesingle test_bsddb3 test_codecmaps_cn
    test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr
    test_codecmaps_tw test_curses test_ioctl test_linuxaudiodev
    test_macostools test_normalization test_ossaudiodev test_pep277
    test_plistlib test_scriptpackages test_socketserver test_startfile
    test_sunaudiodev test_tcl test_timeout test_unicode_file
    test_urllib2net test_urllibnet test_winreg test_winsound
    test_zipfile64
2 skips unexpected on linux2:
    test_tcl test_ioctl
[636181 refs]


More information about the Python-3000-checkins mailing list