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

Neal Norwitz nnorwitz at gmail.com
Sat Mar 1 18:14:23 CET 2008


Gerhard,

I'm guessing this failure is due to your recent change.  The exception is:

 File "/tmp/python-test/local/lib/python2.6/sqlite3/test/regression.py",
line 118, in CheckWorkaroundForBuggySqliteTransferBindings
   self.con.execute("create table if not exists foo(bar)")
OperationalError: near "not": syntax error

The sqlite version is:  sqlite-3.2.1-r3 on an old gentoo x86 box.

Thanks,
n

On Sat, Mar 1, 2008 at 3:33 AM, Neal Norwitz <nnorwitz at gmail.com> wrote:
> 313 tests OK.
>  1 test failed:
>     test_sqlite
>  28 tests skipped:
>     test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
>     test_cd test_cl test_curses test_gl test_imageop test_imgfile
>     test_ioctl test_linuxaudiodev test_macostools test_ossaudiodev
>     test_pep277 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
>  1 skip unexpected on linux2:
>     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 aepack
>  test_al
>  test_al skipped -- No module named al
>  test_anydbm
>  test_applesingle
>  test_applesingle skipped -- No module named macostools
>  test_array
>  test_ast
>  test_asynchat
>  test_asyncore
>  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_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_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_errno
>  test_exception_variations
>  test_extcall
>  test_fcntl
>  test_file
>  test_filecmp
>  test_fileinput
>  test_float
>  test_fnmatch
>  test_fork1
>  test_format
>  test_fpformat
>  test_fractions
>  test_frozen
>  test_ftplib
>  test_funcattrs
>  test_functools
>  test_future
>  test_future_builtins
>  test_gc
>  test_gdbm
>  test_generators
>  test_genericpath
>  test_genexps
>  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_hexoct
>  test_hmac
>  test_hotshot
>  test_htmllib
>  test_htmlparser
>  test_httplib
>  test_imageop
>  test_imageop skipped -- No module named imgfile
>  test_imaplib
>  test_imgfile
>  test_imgfile skipped -- No module named imgfile
>  test_imp
>  test_import
>  test_importhooks
>  test_index
>  test_inspect
>  test_ioctl
>  test_ioctl skipped -- Unable to open /dev/tty
>  test_isinstance
>  test_iter
>  test_iterlen
>  test_itertools
>  test_largefile
>  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_macostools
>  test_macostools skipped -- No module named macostools
>  test_macpath
>  test_mailbox
>  test_marshal
>  test_math
>  test_md5
>  test_mhlib
>  test_mimetools
>  test_mimetypes
>  test_minidom
>  test_mmap
>  test_module
>  test_modulefinder
>  test_multibytecodec
>  test_multibytecodec_support
>  test_multifile
>  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
>  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
>  test_pickle
>  test_pickletools
>  test_pipes
>  test_pkg
>  test_pkgimport
>  test_platform
>  test_plistlib
>  test_poll
>  test_popen
>  [8018 refs]
>  [8018 refs]
>  [8018 refs]
>  test_popen2
>  test_poplib
>  test_posix
>  test_posixpath
>  test_pow
>  test_pprint
>  test_profile
>  test_profilehooks
>  test_property
>  test_pstats
>  test_pty
>  test_pwd
>  test_pyclbr
>  test_pyexpat
>  test_queue
>  test_quopri
>  [8395 refs]
>  [8395 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
>  test_slice
>  test_smtplib
>  test_socket
>  test_socket_ssl
>  test_socketserver
>  test_socketserver skipped -- Use of the `network' resource not enabled
>  test_softspace
>  test_sort
>  test_sqlite
>  test test_sqlite failed -- Traceback (most recent call last):
>   File "/tmp/python-test/local/lib/python2.6/sqlite3/test/regression.py", line 118, in CheckWorkaroundForBuggySqliteTransferBindings
>     self.con.execute("create table if not exists foo(bar)")
>  OperationalError: near "not": syntax error
>
>  test_ssl
>  test_startfile
>  test_startfile skipped -- cannot import name startfile
>  test_str
>  test_strftime
>  test_string
>  test_stringprep
>  test_strop
>  test_strptime
>  test_struct
>  test_structmembers
>  test_structseq
>  test_subprocess
>  [8013 refs]
>  [8015 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8015 refs]
>  [9938 refs]
>  [8231 refs]
>  [8015 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  [8013 refs]
>  .
>  [8013 refs]
>  [8013 refs]
>     this bit of output is from a test of stdout in a different process ...
>  [8013 refs]
>  [8013 refs]
>  [8231 refs]
>  test_sunaudiodev
>  test_sunaudiodev skipped -- No module named sunaudiodev
>  test_sundry
>  test_symtable
>  test_syntax
>  test_sys
>  [8013 refs]
>  [8013 refs]
>  test_tarfile
>  test_tcl
>  test_tcl skipped -- No module named _tkinter
>  test_telnetlib
>  test_tempfile
>  [8018 refs]
>  test_textwrap
>  test_thread
>  test_threaded_import
>  test_threadedtempfile
>  test_threading
>  [11149 refs]
>  test_threading_local
>  test_threadsignals
>  test_time
>  test_timeout
>  test_timeout skipped -- Use of the `network' resource not enabled
>  test_tokenize
>  test_trace
>  test_traceback
>  test_transformer
>  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_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
>  /tmp/python-test/local/lib/python2.6/test/test_zipfile.py:472: DeprecationWarning: struct integer overflow masking is deprecated
>   zipfp.close()
>  /tmp/python-test/local/lib/python2.6/test/test_zipfile.py:399: DeprecationWarning: struct integer overflow masking is deprecated
>   zipfp.close()
>  test_zipfile64
>  test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run
>  test_zipimport
>  test_zlib
>  313 tests OK.
>  1 test failed:
>     test_sqlite
>  28 tests skipped:
>     test_aepack test_al test_applesingle test_bsddb185 test_bsddb3
>     test_cd test_cl test_curses test_gl test_imageop test_imgfile
>     test_ioctl test_linuxaudiodev test_macostools test_ossaudiodev
>     test_pep277 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
>  1 skip unexpected on linux2:
>     test_ioctl
>  [570330 refs]
>  _______________________________________________
>  Python-checkins mailing list
>  Python-checkins at python.org
>  http://mail.python.org/mailman/listinfo/python-checkins
>


More information about the Python-checkins mailing list