[Python-checkins] Python Regression Test Failures basics (7)

Neal Norwitz nnorwitz at gmail.com
Tue Apr 7 10:09:09 CEST 2009


327 tests OK.
7 tests failed:
    test_asyncore test_generators test_genexps test_lib2to3
    test_multiprocessing test_syntax test_telnetlib
34 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_curses test_epoll test_gl test_imgfile
    test_ioctl test_kqueue test_linuxaudiodev test_macos
    test_macostools test_ossaudiodev test_pep277 test_py3kwarn
    test_scriptpackages test_socketserver test_startfile
    test_sunaudiodev test_tcl test_timeout test_tk test_ttk_guionly
    test_ttk_textonly test_unicode_file test_urllib2net test_urllibnet
    test_winreg test_winsound test_zipfile64
5 skips unexpected on linux2:
    test_ttk_guionly test_epoll test_ttk_textonly test_tk test_ioctl

test_grammar
test_opcodes
test_dict
test_builtin
test_exceptions
test_types
test_unittest
test_doctest
test_doctest2
test_MimeWriter
test_SimpleHTTPServer
test_StringIO
test___all__
test___future__
test__locale
test_abc
test_abstract_numbers
test_aepack
test_aepack skipped -- No module named aetypes
test_al
test_al skipped -- No module named al
test_anydbm
test_applesingle
test_applesingle skipped -- No module named MacOS
test_array
test_ast
test_asynchat
test_asyncore
test test_asyncore failed -- Traceback (most recent call last):
  File "/tmp/python-test/local/lib/python2.7/test/test_asyncore.py", line 144, in test_readwrite
    self.assertEqual(tobj.read, True)
AssertionError: False != True

test_atexit
test_audioop
test_augassign
test_base64
test_bastion
test_bigaddrspace
test_bigmem
test_binascii
test_binhex
test_binop
test_bisect
test_bool
test_bsddb
test_bsddb185
test_bsddb185 skipped -- No module named bsddb185
test_bsddb3
test_bsddb3 skipped -- Use of the `bsddb' resource not enabled
test_buffer
test_bufio
test_bytes
test_bz2
test_calendar
test_call
test_capi
test_cd
test_cd skipped -- No module named cd
test_cfgparser
test_cgi
test_charmapcodec
test_cl
test_cl skipped -- No module named cl
test_class
test_cmath
test_cmd
test_cmd_line
test_cmd_line_script
test_code
test_codeccallbacks
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_hk
test_codecmaps_jp
test_codecmaps_kr
test_codecmaps_tw
test_codecs
test_codeop
test_coding
test_coercion
test_collections
test_colorsys
test_commands
test_compare
test_compile
test_compileall
test_compiler
test_complex
test_complex_args
test_contains
test_contextlib
test_cookie
test_cookielib
test_copy
test_copy_reg
test_cpickle
test_cprofile
test_crypt
test_csv
test_ctypes
test_curses
test_curses skipped -- Use of the `curses' resource not enabled
test_datetime
test_dbm
test_decimal
test_decorators
test_defaultdict
test_deque
test_descr
test_descrtut
test_difflib
test_dircache
test_dis
test_distutils
test_dl
test_docxmlrpc
test_dumbdbm
test_dummy_thread
test_dummy_threading
test_email
test_email_codecs
test_email_renamed
test_enumerate
test_eof
test_epoll
test_epoll skipped -- kernel doesn't support epoll()
test_errno
test_exception_variations
test_extcall
test_fcntl
test_file
test_filecmp
test_fileinput
test_fileio
test_float
test_fnmatch
test_fork1
test_format
test_fpformat
test_fractions
test_frozen
test_ftplib
test_funcattrs
test_functools
test_future
test_future3
test_future4
test_future5
test_future_builtins
test_gc
test_gdbm
test_generators
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine
Failed example:
    f=lambda: (yield 1),(yield 2)
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'yield' outside function (<doctest test.test_generators.__test__.coroutine[21]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_generators.__test__.coroutine[21]>", line 1
    SyntaxError: 'yield' outside function
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine
Failed example:
    def f(): x = yield = y
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: assignment to yield expression not possible (<doctest test.test_generators.__test__.coroutine[23]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_generators.__test__.coroutine[23]>", line 1
    SyntaxError: assignment to yield expression not possible
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine
Failed example:
    def f(): (yield bar) = y
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: can't assign to yield expression (<doctest test.test_generators.__test__.coroutine[24]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_generators.__test__.coroutine[24]>", line 1
    SyntaxError: can't assign to yield expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_generators.py", line ?, in test.test_generators.__test__.coroutine
Failed example:
    def f(): (yield bar) += y
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: augmented assignment to yield expression not possible (<doctest test.test_generators.__test__.coroutine[25]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_generators.__test__.coroutine[25]>", line 1
    SyntaxError: augmented assignment to yield expression not possible
**********************************************************************
1 items had failures:
   4 of  99 in test.test_generators.__test__.coroutine
***Test Failed*** 4 failures.
test test_generators failed -- 4 of 284 doctests failed
test_genericpath
test_genexps
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_genexps.py", line ?, in test.test_genexps.__test__.doctests
Failed example:
    (y for y in (1,2)) = 10
Expected:
    Traceback (most recent call last):
       ...
    SyntaxError: can't assign to generator expression (<doctest test.test_genexps.__test__.doctests[40]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_genexps.__test__.doctests[40]>", line 1
    SyntaxError: can't assign to generator expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_genexps.py", line ?, in test.test_genexps.__test__.doctests
Failed example:
    (y for y in (1,2)) += 10
Expected:
    Traceback (most recent call last):
       ...
    SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_genexps.__test__.doctests[41]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_genexps.__test__.doctests[41]>", line 1
    SyntaxError: augmented assignment to generator expression not possible
**********************************************************************
1 items had failures:
   2 of  75 in test.test_genexps.__test__.doctests
***Test Failed*** 2 failures.
test test_genexps failed -- 2 of 75 doctests failed
test_getargs
test_getargs2
test_getopt
test_gettext
test_gl
test_gl skipped -- No module named gl
test_glob
test_global
test_grp
test_gzip
test_hash
test_hashlib
test_heapq
test_hmac
test_hotshot
test_htmllib
test_htmlparser
test_httplib
test_httpservers
[13183 refs]
[13183 refs]
[13183 refs]
[23375 refs]
test_imageop
test_imaplib
test_imgfile
test_imgfile skipped -- No module named imgfile
test_imp
test_import
test_importhooks
test_importlib
test_index
test_inspect
test_int
test_int_literal
test_io
test_ioctl
test_ioctl skipped -- Unable to open /dev/tty
test_isinstance
test_iter
test_iterlen
test_itertools
test_json
test_kqueue
test_kqueue skipped -- test works only on BSD
test_largefile
test_lib2to3
test test_lib2to3 crashed -- <type 'exceptions.ImportError'>: No module named myfixes
test_linuxaudiodev
test_linuxaudiodev skipped -- Use of the `audio' resource not enabled
test_list
test_locale
test_logging
test_long
test_long_future
test_longexp
test_macos
test_macos skipped -- No module named MacOS
test_macostools
test_macostools skipped -- No module named MacOS
test_macpath
test_mailbox
test_marshal
test_math
test_md5
test_memoryio
test_memoryview
test_mhlib
test_mimetools
test_mimetypes
test_minidom
test_mmap
test_module
test_modulefinder
test_multibytecodec
test_multibytecodec_support
test_multifile
test_multiprocessing
test test_multiprocessing crashed -- <type 'exceptions.ImportError'>: cannot import name SkipTest
test_mutants
test_mutex
test_netrc
test_new
test_nis
test_normalization
test_ntpath
test_old_mailbox
test_openpty
test_operator
test_optparse
test_os
test_ossaudiodev
test_ossaudiodev skipped -- Use of the `audio' resource not enabled
test_parser
Expecting 's_push: parser stack overflow' in next line
s_push: parser stack overflow
test_peepholer
test_pep247
test_pep263
test_pep277
test_pep277 skipped -- test works only on NT+
test_pep292
test_pep352
/tmp/python-test/local/lib/python2.7/test/test_pep352.py:31: PendingDeprecationWarning: Please use assertTrue instead.
  (ins.__class__.__name__, attr))
/tmp/python-test/local/lib/python2.7/test/test_pep352.py:92: PendingDeprecationWarning: Please use assertEqual instead.
  given, expected))
test_pickle
test_pickletools
test_pipes
test_pkg
test_pkgimport
test_pkgutil
test_platform
[14838 refs]
[14838 refs]
test_plistlib
test_poll
test_popen
[13188 refs]
[13188 refs]
[13188 refs]
test_popen2
test_poplib
test_posix
test_posixpath
test_pow
test_pprint
test_print
test_profile
test_profilehooks
test_property
test_pstats
test_pty
test_pwd
test_py3kwarn
test_py3kwarn skipped -- test.test_py3kwarn must be run with the -3 flag
test_pyclbr
test_pydoc
[18903 refs]
test_pyexpat
test_queue
test_quopri
[15708 refs]
[15708 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_sets
test_sgmllib
test_sha
test_shelve
test_shlex
test_shutil
test_signal
test_site
[13183 refs]
[13183 refs]
[13186 refs]
[13183 refs]
test_slice
test_smtplib
test_socket
test_socketserver
test_socketserver skipped -- Use of the `network' resource not enabled
test_softspace
test_sort
test_sqlite
test_ssl
test_startfile
test_startfile skipped -- module os has no attribute startfile
test_str
test_strftime
test_string
test_stringprep
test_strop
test_strptime
test_struct
test_structmembers
test_structseq
test_subprocess
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[15083 refs]
[13398 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
[13183 refs]
.
[13183 refs]
[13183 refs]
    this bit of output is from a test of stdout in a different process ...
[13183 refs]
[13183 refs]
[13398 refs]
test_sunaudiodev
test_sunaudiodev skipped -- No module named sunaudiodev
test_sundry
test_symtable
test_syntax
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 30, in test.test_syntax
Failed example:
    obj.None = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[1]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[1]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 34, in test.test_syntax
Failed example:
    None = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[2]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[2]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 42, in test.test_syntax
Failed example:
    () = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to () (<doctest test.test_syntax[3]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[3]>", line 1
    SyntaxError: can't assign to ()
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 46, in test.test_syntax
Failed example:
    f() = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to function call (<doctest test.test_syntax[4]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[4]>", line 1
    SyntaxError: can't assign to function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 50, in test.test_syntax
Failed example:
    del f()
Expected:
    Traceback (most recent call last):
    SyntaxError: can't delete function call (<doctest test.test_syntax[5]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[5]>", line 1
    SyntaxError: can't delete function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 54, in test.test_syntax
Failed example:
    a + 1 = 2
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to operator (<doctest test.test_syntax[6]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[6]>", line 1
    SyntaxError: can't assign to operator
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 58, in test.test_syntax
Failed example:
    (x for x in x) = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to generator expression (<doctest test.test_syntax[7]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[7]>", line 1
    SyntaxError: can't assign to generator expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 62, in test.test_syntax
Failed example:
    1 = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to literal (<doctest test.test_syntax[8]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[8]>", line 1
    SyntaxError: can't assign to literal
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 66, in test.test_syntax
Failed example:
    "abc" = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to literal (<doctest test.test_syntax[9]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[9]>", line 1
    SyntaxError: can't assign to literal
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 70, in test.test_syntax
Failed example:
    `1` = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to repr (<doctest test.test_syntax[10]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[10]>", line 1
    SyntaxError: can't assign to repr
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 79, in test.test_syntax
Failed example:
    (a, "b", c) = (1, 2, 3)
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to literal (<doctest test.test_syntax[11]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[11]>", line 1
    SyntaxError: can't assign to literal
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 83, in test.test_syntax
Failed example:
    [a, b, c + 1] = [1, 2, 3]
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to operator (<doctest test.test_syntax[12]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[12]>", line 1
    SyntaxError: can't assign to operator
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 87, in test.test_syntax
Failed example:
    a if 1 else b = 1
Expected:
    Traceback (most recent call last):
    SyntaxError: can't assign to conditional expression (<doctest test.test_syntax[13]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[13]>", line 1
    SyntaxError: can't assign to conditional expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 93, in test.test_syntax
Failed example:
    def f(None=1):
        pass
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[14]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[14]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 101, in test.test_syntax
Failed example:
    def f(x, y=1, z):
        pass
Expected:
    Traceback (most recent call last):
    SyntaxError: non-default argument follows default argument (<doctest test.test_syntax[15]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[15]>", line 1
    SyntaxError: non-default argument follows default argument
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 106, in test.test_syntax
Failed example:
    def f(x, None):
        pass
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[16]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[16]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 111, in test.test_syntax
Failed example:
    def f(*None):
        pass
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[17]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[17]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 116, in test.test_syntax
Failed example:
    def f(**None):
        pass
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[18]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[18]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 124, in test.test_syntax
Failed example:
    def None(x):
        pass
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[19]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[19]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 137, in test.test_syntax
Failed example:
    f(x for x in L, 1)
Expected:
    Traceback (most recent call last):
    SyntaxError: Generator expression must be parenthesized if not sole argument (<doctest test.test_syntax[23]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[23]>", line 1
    SyntaxError: Generator expression must be parenthesized if not sole argument
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 143, in test.test_syntax
Failed example:
    f(i0,  i1,  i2,  i3,  i4,  i5,  i6,  i7,  i8,  i9,  i10,  i11,
      i12,  i13,  i14,  i15,  i16,  i17,  i18,  i19,  i20,  i21,  i22,
      i23,  i24,  i25,  i26,  i27,  i28,  i29,  i30,  i31,  i32,  i33,
      i34,  i35,  i36,  i37,  i38,  i39,  i40,  i41,  i42,  i43,  i44,
      i45,  i46,  i47,  i48,  i49,  i50,  i51,  i52,  i53,  i54,  i55,
      i56,  i57,  i58,  i59,  i60,  i61,  i62,  i63,  i64,  i65,  i66,
      i67,  i68,  i69,  i70,  i71,  i72,  i73,  i74,  i75,  i76,  i77,
      i78,  i79,  i80,  i81,  i82,  i83,  i84,  i85,  i86,  i87,  i88,
      i89,  i90,  i91,  i92,  i93,  i94,  i95,  i96,  i97,  i98,  i99,
      i100,  i101,  i102,  i103,  i104,  i105,  i106,  i107,  i108,
      i109,  i110,  i111,  i112,  i113,  i114,  i115,  i116,  i117,
      i118,  i119,  i120,  i121,  i122,  i123,  i124,  i125,  i126,
      i127,  i128,  i129,  i130,  i131,  i132,  i133,  i134,  i135,
      i136,  i137,  i138,  i139,  i140,  i141,  i142,  i143,  i144,
      i145,  i146,  i147,  i148,  i149,  i150,  i151,  i152,  i153,
      i154,  i155,  i156,  i157,  i158,  i159,  i160,  i161,  i162,
      i163,  i164,  i165,  i166,  i167,  i168,  i169,  i170,  i171,
      i172,  i173,  i174,  i175,  i176,  i177,  i178,  i179,  i180,
      i181,  i182,  i183,  i184,  i185,  i186,  i187,  i188,  i189,
      i190,  i191,  i192,  i193,  i194,  i195,  i196,  i197,  i198,
      i199,  i200,  i201,  i202,  i203,  i204,  i205,  i206,  i207,
      i208,  i209,  i210,  i211,  i212,  i213,  i214,  i215,  i216,
      i217,  i218,  i219,  i220,  i221,  i222,  i223,  i224,  i225,
      i226,  i227,  i228,  i229,  i230,  i231,  i232,  i233,  i234,
      i235,  i236,  i237,  i238,  i239,  i240,  i241,  i242,  i243,
      i244,  i245,  i246,  i247,  i248,  i249,  i250,  i251,  i252,
      i253,  i254,  i255)
Expected:
    Traceback (most recent call last):
    SyntaxError: more than 255 arguments (<doctest test.test_syntax[25]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[25]>", line 1
    SyntaxError: more than 255 arguments
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 177, in test.test_syntax
Failed example:
    f(i0,  i1,  i2,  i3,  i4,  i5,  i6,  i7,  i8,  i9,  i10,  i11,
      i12,  i13,  i14,  i15,  i16,  i17,  i18,  i19,  i20,  i21,  i22,
      i23,  i24,  i25,  i26,  i27,  i28,  i29,  i30,  i31,  i32,  i33,
      i34,  i35,  i36,  i37,  i38,  i39,  i40,  i41,  i42,  i43,  i44,
      i45,  i46,  i47,  i48,  i49,  i50,  i51,  i52,  i53,  i54,  i55,
      i56,  i57,  i58,  i59,  i60,  i61,  i62,  i63,  i64,  i65,  i66,
      i67,  i68,  i69,  i70,  i71,  i72,  i73,  i74,  i75,  i76,  i77,
      i78,  i79,  i80,  i81,  i82,  i83,  i84,  i85,  i86,  i87,  i88,
      i89,  i90,  i91,  i92,  i93,  i94,  i95,  i96,  i97,  i98,  i99,
      i100,  i101,  i102,  i103,  i104,  i105,  i106,  i107,  i108,
      i109,  i110,  i111,  i112,  i113,  i114,  i115,  i116,  i117,
      i118,  i119,  i120,  i121,  i122,  i123,  i124,  i125,  i126,
      i127,  i128,  i129,  i130,  i131,  i132,  i133,  i134,  i135,
      i136,  i137,  i138,  i139,  i140,  i141,  i142,  i143,  i144,
      i145,  i146,  i147,  i148,  i149,  i150,  i151,  i152,  i153,
      i154,  i155,  i156,  i157,  i158,  i159,  i160,  i161,  i162,
      i163,  i164,  i165,  i166,  i167,  i168,  i169,  i170,  i171,
      i172,  i173,  i174,  i175,  i176,  i177,  i178,  i179,  i180,
      i181,  i182,  i183,  i184,  i185,  i186,  i187,  i188,  i189,
      i190,  i191,  i192,  i193,  i194,  i195,  i196,  i197,  i198,
      i199,  i200,  i201,  i202,  i203,  i204,  i205,  i206,  i207,
      i208,  i209,  i210,  i211,  i212,  i213,  i214,  i215,  i216,
      i217,  i218,  i219,  i220,  i221,  i222,  i223,  i224,  i225,
      i226,  i227,  i228,  i229,  i230,  i231,  i232,  i233,  i234,
      i235, i236,  i237,  i238,  i239,  i240,  i241,  i242,  i243,
      (x for x in i244),  i245,  i246,  i247,  i248,  i249,  i250,  i251,
       i252=1, i253=1,  i254=1,  i255=1)
Expected:
    Traceback (most recent call last):
    SyntaxError: more than 255 arguments (<doctest test.test_syntax[26]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[26]>", line 1
    SyntaxError: more than 255 arguments
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 207, in test.test_syntax
Failed example:
    f(lambda x: x[0] = 3)
Expected:
    Traceback (most recent call last):
    SyntaxError: lambda cannot contain assignment (<doctest test.test_syntax[27]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[27]>", line 1
    SyntaxError: lambda cannot contain assignment
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 214, in test.test_syntax
Failed example:
    f(x()=2)
Expected:
    Traceback (most recent call last):
    SyntaxError: keyword can't be an expression (<doctest test.test_syntax[28]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[28]>", line 1
    SyntaxError: keyword can't be an expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 217, in test.test_syntax
Failed example:
    f(a or b=1)
Expected:
    Traceback (most recent call last):
    SyntaxError: keyword can't be an expression (<doctest test.test_syntax[29]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[29]>", line 1
    SyntaxError: keyword can't be an expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 220, in test.test_syntax
Failed example:
    f(x.y=1)
Expected:
    Traceback (most recent call last):
    SyntaxError: keyword can't be an expression (<doctest test.test_syntax[30]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[30]>", line 1
    SyntaxError: keyword can't be an expression
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 227, in test.test_syntax
Failed example:
    (x for x in x) += 1
Expected:
    Traceback (most recent call last):
    SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_syntax[31]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[31]>", line 1
    SyntaxError: augmented assignment to generator expression not possible
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 230, in test.test_syntax
Failed example:
    None += 1
Expected:
    Traceback (most recent call last):
    SyntaxError: cannot assign to None (<doctest test.test_syntax[32]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[32]>", line 1
    SyntaxError: cannot assign to None
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 233, in test.test_syntax
Failed example:
    f() += 1
Expected:
    Traceback (most recent call last):
    SyntaxError: illegal expression for augmented assignment (<doctest test.test_syntax[33]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[33]>", line 1
    SyntaxError: illegal expression for augmented assignment
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 254, in test.test_syntax
Failed example:
    def test():
       for abc in range(10):
           try:
               pass
           finally:
               continue
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'continue' not supported inside 'finally' clause (<doctest test.test_syntax[36]>, line 6)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[36]>", line 6
    SyntaxError: 'continue' not supported inside 'finally' clause
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 266, in test.test_syntax
Failed example:
    def test():
       for abc in range(10):
           try:
               pass
           finally:
               try:
                   continue
               except:
                   pass
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'continue' not supported inside 'finally' clause (<doctest test.test_syntax[37]>, line 7)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[37]>", line 7
    SyntaxError: 'continue' not supported inside 'finally' clause
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 279, in test.test_syntax
Failed example:
    def foo():
        try:
            pass
        finally:
            continue
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'continue' not supported inside 'finally' clause (<doctest test.test_syntax[38]>, line 5)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[38]>", line 5
    SyntaxError: 'continue' not supported inside 'finally' clause
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 288, in test.test_syntax
Failed example:
    def foo():
        for a in ():
          try:
              pass
          finally:
              continue
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'continue' not supported inside 'finally' clause (<doctest test.test_syntax[39]>, line 6)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[39]>", line 6
    SyntaxError: 'continue' not supported inside 'finally' clause
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 298, in test.test_syntax
Failed example:
    def foo():
        for a in ():
            try:
                pass
            finally:
                try:
                    continue
                finally:
                    pass
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'continue' not supported inside 'finally' clause (<doctest test.test_syntax[40]>, line 7)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[40]>", line 7
    SyntaxError: 'continue' not supported inside 'finally' clause
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 311, in test.test_syntax
Failed example:
    def foo():
     for a in ():
      try: pass
      finally:
       try:
        pass
       except:
        continue
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'continue' not supported inside 'finally' clause (<doctest test.test_syntax[41]>, line 8)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[41]>", line 8
    SyntaxError: 'continue' not supported inside 'finally' clause
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 328, in test.test_syntax
Failed example:
    try:
        print 1
        break
        print 2
    finally:
        print 3
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: 'break' outside loop (<doctest test.test_syntax[42]>, line 3)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[42]>", line 3
    SyntaxError: 'break' outside loop
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 372, in test.test_syntax
Failed example:
    if 1:
      x() = 1
    elif 1:
      pass
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: can't assign to function call (<doctest test.test_syntax[44]>, line 2)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[44]>", line 2
    SyntaxError: can't assign to function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 380, in test.test_syntax
Failed example:
    if 1:
      pass
    elif 1:
      x() = 1
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: can't assign to function call (<doctest test.test_syntax[45]>, line 4)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[45]>", line 4
    SyntaxError: can't assign to function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 388, in test.test_syntax
Failed example:
    if 1:
      x() = 1
    elif 1:
      pass
    else:
      pass
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: can't assign to function call (<doctest test.test_syntax[46]>, line 2)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[46]>", line 2
    SyntaxError: can't assign to function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 398, in test.test_syntax
Failed example:
    if 1:
      pass
    elif 1:
      x() = 1
    else:
      pass
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: can't assign to function call (<doctest test.test_syntax[47]>, line 4)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[47]>", line 4
    SyntaxError: can't assign to function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 408, in test.test_syntax
Failed example:
    if 1:
      pass
    elif 1:
      pass
    else:
      x() = 1
Expected:
    Traceback (most recent call last):
      ...
    SyntaxError: can't assign to function call (<doctest test.test_syntax[48]>, line 6)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[48]>", line 6
    SyntaxError: can't assign to function call
**********************************************************************
File "/tmp/python-test/local/lib/python2.7/test/test_syntax.py", line 418, in test.test_syntax
Failed example:
    f(a=23, a=234)
Expected:
    Traceback (most recent call last):
       ...
    SyntaxError: keyword argument repeated (<doctest test.test_syntax[49]>, line 1)
Got:
    Traceback (most recent call last):
      File "/tmp/python-test/local/lib/python2.7/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest test.test_syntax[49]>", line 1
    SyntaxError: keyword argument repeated
**********************************************************************
1 items had failures:
  42 of  50 in test.test_syntax
***Test Failed*** 42 failures.
test test_syntax failed -- 42 of 50 doctests failed
test_sys
[13183 refs]
[13183 refs]
[13412 refs]
[13206 refs]
test_tarfile
test_tcl
test_tcl skipped -- No module named _tkinter
test_telnetlib
test test_telnetlib failed -- errors occurred; run in verbose mode for details
test_tempfile
[13186 refs]
test_textwrap
test_thread
test_threaded_import
test_threadedtempfile
test_threading
[16679 refs]
[18059 refs]
[17873 refs]
[17873 refs]
[17873 refs]
[17873 refs]
test_threading_local
test_threadsignals
test_time
test_timeout
test_timeout skipped -- Use of the `network' resource not enabled
test_tk
test_tk skipped -- No module named _tkinter
test_tokenize
test_trace
test_traceback
test_transformer
test_ttk_guionly
test_ttk_guionly skipped -- No module named _tkinter
test_ttk_textonly
test_ttk_textonly skipped -- No module named _tkinter
test_tuple
test_typechecks
test_ucn
test_unary
test_undocumented_details
test_unicode
test_unicode_file
test_unicode_file skipped -- No Unicode filesystem semantics on this platform.
test_unicodedata
test_univnewlines
test_unpack
test_urllib
test_urllib2
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_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
test_xml_etree_c
test_xmllib
test_xmlrpc
test_xpickle
test_xrange
test_zipfile
test_zipfile64
test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
test_zipimport
test_zipimport_support
test_zlib
327 tests OK.
7 tests failed:
    test_asyncore test_generators test_genexps test_lib2to3
    test_multiprocessing test_syntax test_telnetlib
34 tests skipped:
    test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
    test_cd test_cl test_curses test_epoll test_gl test_imgfile
    test_ioctl test_kqueue test_linuxaudiodev test_macos
    test_macostools test_ossaudiodev test_pep277 test_py3kwarn
    test_scriptpackages test_socketserver test_startfile
    test_sunaudiodev test_tcl test_timeout test_tk test_ttk_guionly
    test_ttk_textonly test_unicode_file test_urllib2net test_urllibnet
    test_winreg test_winsound test_zipfile64
5 skips unexpected on linux2:
    test_ttk_guionly test_epoll test_ttk_textonly test_tk test_ioctl
[701504 refs]


More information about the Python-checkins mailing list