cpython/Lib/test/output
Guido van Rossum 77f6a65eb0 Add the 'bool' type and its values 'False' and 'True', as described in
PEP 285.  Everything described in the PEP is here, and there is even
some documentation.  I had to fix 12 unit tests; all but one of these
were printing Boolean outcomes that changed from 0/1 to False/True.
(The exception is test_unicode.py, which did a type(x) == type(y)
style comparison.  I could've fixed that with a single line using
issubtype(x, type(y)), but instead chose to be explicit about those
places where a bool is expected.

Still to do: perhaps more documentation; change standard library
modules to return False/True from predicates.
2002-04-03 22:41:51 +00:00
..
test_MimeWriter
test_asynchat
test_atexit
test_augassign Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
test_bastion
test_binascii
test_builtin
test_cfgparser
test_cgi
test_charmapcodec
test_class
test_coercion
test_compare
test_compile
test_cookie
test_exceptions
test_extcall Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
test_frozen
test_future
test_gettext Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
test_global
test_grammar Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
test_httplib add test for InvalidURL 2002-03-24 16:54:38 +00:00
test_linuxaudiodev
test_longexp
test_math
test_md5
test_mimetools
test_minidom
test_mmap
test_new
test_nis
test_opcodes
test_openpty
test_operations
test_pkg
test_poll
test_popen Fix bugs: 2002-04-03 01:47:00 +00:00
test_popen2
test_posixpath
test_pow
test_profile
test_pty
test_pwd
test_pyexpat
test_re
test_regex
test_rgbimg
test_richcmp Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
test_rotor
test_sax
test_scope
test_signal
test_socket
test_string
test_thread
test_threadedtempfile
test_tokenize
test_types Add more tests for built-in types. Add tests for buffer objects. 2002-03-24 01:24:54 +00:00
test_ucn
test_unicode
test_unicode_file
test_unicodedata
test_winreg
test_winsound
test_xreadline
test_zlib