Staging
v0.5.1
https://github.com/python/cpython
Revision 7fe73a17c52dabc6e0ee675e92392be488386b71 authored by Benjamin Peterson on 04 April 2009, 16:35:46 UTC, committed by Benjamin Peterson on 04 April 2009, 16:35:46 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r70837 | gregory.p.smith | 2009-03-31 11:54:10 -0500 (Tue, 31 Mar 2009) | 9 lines

  The unittest.TestCase.assertEqual() now displays the differences in lists,
  tuples, dicts and sets on failure.

  Many new handy type and comparison specific assert* methods have been added
  that fail with error messages actually useful for debugging.  Contributed in
  by Google and completed with help from mfoord and GvR at PyCon 2009 sprints.

  Discussion lives in http://bugs.python.org/issue2578.
........
  r70864 | gregory.p.smith | 2009-03-31 14:03:28 -0500 (Tue, 31 Mar 2009) | 10 lines

  Rename the actual method definitions to the official assertFoo names.

  Adds unittests to make sure the old fail* names continue to work now
  and adds a comment that they are pending deprecation.

  Also adds a test to confirm that the plural Equals method variants
  continue to exist even though we're unlikely to deprecate those.

  http://bugs.python.org/issue2578
........
  r70878 | gregory.p.smith | 2009-03-31 14:59:14 -0500 (Tue, 31 Mar 2009) | 3 lines

  Issue an actual PendingDeprecationWarning for the TestCase.fail* methods.
  Document the deprecation.
........
  r71004 | benjamin.peterson | 2009-04-01 18:15:49 -0500 (Wed, 01 Apr 2009) | 1 line

  remove double underscores
........
  r71032 | michael.foord | 2009-04-01 22:20:38 -0500 (Wed, 01 Apr 2009) | 13 lines

  Better exception messages for unittest assert methods.

  - unittest.assertNotEqual() now uses the inequality operator (!=) instead
    of the equality operator.

  - Default assertTrue and assertFalse messages are now useful.

  - TestCase has a longMessage attribute. This defaults to False, but if set to True
    useful error messages are shown in addition to explicit messages passed to assert methods.

  Issue #5663
........
  r71043 | michael.foord | 2009-04-02 00:51:54 -0500 (Thu, 02 Apr 2009) | 7 lines

  Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable.

  This allows for the deep copying of TestCase instances.

  Issue 5660
........
1 parent 9247e72
History
Tip revision: 7fe73a17c52dabc6e0ee675e92392be488386b71 authored by Benjamin Peterson on 04 April 2009, 16:35:46 UTC
Merged revisions 70837,70864,70878,71004,71032,71043 via svnmerge from
Tip revision: 7fe73a1
File Mode Size
ctypes
curses
dbm
distutils
email
encodings
html
http
idlelib
importlib
json
lib2to3
logging
msilib
multiprocessing
plat-aix4
plat-atheos
plat-darwin
plat-freebsd4
plat-freebsd5
plat-freebsd6
plat-freebsd7
plat-freebsd8
plat-generic
plat-linux2
plat-netbsd1
plat-next3
plat-os2emx
plat-sunos5
plat-unixware7
site-packages
sqlite3
test
tkinter
urllib
wsgiref
xml
xmlrpc
__future__.py -rw-r--r-- 4.5 KB
__phello__.foo.py -rw-r--r-- 64 bytes
_abcoll.py -rw-r--r-- 14.8 KB
_dummy_thread.py -rw-r--r-- 4.3 KB
_markupbase.py -rw-r--r-- 14.0 KB
_pyio.py -rw-r--r-- 62.5 KB
_strptime.py -rw-r--r-- 19.5 KB
_threading_local.py -rw-r--r-- 6.8 KB
_weakrefset.py -rw-r--r-- 4.1 KB
abc.py -rw-r--r-- 6.6 KB
aifc.py -rw-r--r-- 30.1 KB
antigravity.py -rw-r--r-- 60 bytes
ast.py -rw-r--r-- 11.5 KB
asynchat.py -rw-r--r-- 11.8 KB
asyncore.py -rw-r--r-- 18.8 KB
base64.py -rwxr-xr-x 13.0 KB
bdb.py -rw-r--r-- 19.9 KB
binhex.py -rw-r--r-- 13.6 KB
bisect.py -rw-r--r-- 2.5 KB
build_class.py -rw-r--r-- 0 bytes
cProfile.py -rwxr-xr-x 6.2 KB
calendar.py -rw-r--r-- 22.1 KB
cgi.py -rwxr-xr-x 29.5 KB
cgitb.py -rw-r--r-- 11.6 KB
chunk.py -rw-r--r-- 5.3 KB
cmd.py -rw-r--r-- 14.5 KB
code.py -rw-r--r-- 9.4 KB
codecs.py -rw-r--r-- 34.0 KB
codeop.py -rw-r--r-- 5.9 KB
collections.py -rw-r--r-- 30.5 KB
colorsys.py -rw-r--r-- 3.6 KB
compileall.py -rw-r--r-- 5.8 KB
configparser.py -rw-r--r-- 24.1 KB
contextlib.py -rw-r--r-- 4.1 KB
copy.py -rw-r--r-- 9.6 KB
copyreg.py -rw-r--r-- 6.5 KB
csv.py -rw-r--r-- 14.9 KB
decimal.py -rw-r--r-- 200.9 KB
difflib.py -rw-r--r-- 79.2 KB
dis.py -rw-r--r-- 8.1 KB
doctest.py -rw-r--r-- 96.3 KB
dummy_threading.py -rw-r--r-- 2.7 KB
filecmp.py -rw-r--r-- 9.3 KB
fileinput.py -rw-r--r-- 13.9 KB
fnmatch.py -rw-r--r-- 3.3 KB
formatter.py -rw-r--r-- 14.6 KB
fractions.py -rwxr-xr-x 20.0 KB
ftplib.py -rw-r--r-- 28.1 KB
functools.py -rw-r--r-- 2.1 KB
genericpath.py -rw-r--r-- 3.0 KB
getopt.py -rw-r--r-- 7.2 KB
getpass.py -rw-r--r-- 5.1 KB
gettext.py -rw-r--r-- 17.6 KB
glob.py -rw-r--r-- 2.2 KB
gzip.py -rw-r--r-- 17.8 KB
hashlib.py -rw-r--r-- 4.8 KB
heapq.py -rw-r--r-- 16.7 KB
hmac.py -rw-r--r-- 4.7 KB
imaplib.py -rw-r--r-- 45.3 KB
imghdr.py -rw-r--r-- 3.4 KB
inspect.py -rw-r--r-- 38.9 KB
io.py -rw-r--r-- 3.5 KB
keyword.py -rwxr-xr-x 2.0 KB
linecache.py -rw-r--r-- 3.7 KB
locale.py -rw-r--r-- 81.3 KB
macpath.py -rw-r--r-- 5.1 KB
macurl2path.py -rw-r--r-- 3.2 KB
mailbox.py -rwxr-xr-x 68.2 KB
mailcap.py -rw-r--r-- 7.3 KB
mimetypes.py -rw-r--r-- 18.4 KB
modulefinder.py -rw-r--r-- 23.4 KB
netrc.py -rw-r--r-- 4.1 KB
nntplib.py -rw-r--r-- 20.6 KB
ntpath.py -rw-r--r-- 18.0 KB
nturl2path.py -rw-r--r-- 2.2 KB
numbers.py -rw-r--r-- 10.1 KB
opcode.py -rw-r--r-- 4.9 KB
optparse.py -rw-r--r-- 58.4 KB
os.py -rw-r--r-- 21.0 KB
os2emxpath.py -rw-r--r-- 4.4 KB
pdb.doc -rw-r--r-- 7.7 KB
pdb.py -rwxr-xr-x 43.7 KB
pickle.py -rw-r--r-- 43.7 KB
pickletools.py -rw-r--r-- 74.0 KB
pipes.py -rw-r--r-- 9.1 KB
pkgutil.py -rw-r--r-- 19.3 KB
platform.py -rwxr-xr-x 48.5 KB
plistlib.py -rw-r--r-- 13.4 KB
poplib.py -rw-r--r-- 10.1 KB
posixpath.py -rw-r--r-- 12.9 KB
pprint.py -rw-r--r-- 11.6 KB
profile.py -rwxr-xr-x 23.1 KB
pstats.py -rw-r--r-- 25.9 KB
pty.py -rw-r--r-- 4.8 KB
py_compile.py -rw-r--r-- 6.0 KB
pyclbr.py -rw-r--r-- 12.9 KB
pydoc.py -rwxr-xr-x 89.6 KB
pydoc_topics.py -rw-r--r-- 360.8 KB
queue.py -rw-r--r-- 9.0 KB
quopri.py -rwxr-xr-x 7.1 KB
random.py -rw-r--r-- 25.1 KB
re.py -rw-r--r-- 14.0 KB
reprlib.py -rw-r--r-- 4.0 KB
rlcompleter.py -rw-r--r-- 5.5 KB
runpy.py -rwxr-xr-x 5.6 KB
sched.py -rw-r--r-- 5.0 KB
shelve.py -rw-r--r-- 7.8 KB
shlex.py -rw-r--r-- 10.8 KB
shutil.py -rw-r--r-- 8.4 KB
site.py -rw-r--r-- 18.3 KB
smtpd.py -rwxr-xr-x 17.7 KB
smtplib.py -rwxr-xr-x 29.9 KB
sndhdr.py -rw-r--r-- 6.1 KB
socket.py -rw-r--r-- 9.6 KB
socketserver.py -rw-r--r-- 21.2 KB
sre_compile.py -rw-r--r-- 15.9 KB
sre_constants.py -rw-r--r-- 7.0 KB
sre_parse.py -rw-r--r-- 27.0 KB
ssl.py -rw-r--r-- 14.9 KB
stat.py -rw-r--r-- 1.7 KB
string.py -rw-r--r-- 10.2 KB
stringprep.py -rw-r--r-- 12.6 KB
struct.py -rw-r--r-- 54 bytes
subprocess.py -rw-r--r-- 45.8 KB
sunau.py -rw-r--r-- 16.1 KB
symbol.py -rwxr-xr-x 2.0 KB
symtable.py -rw-r--r-- 7.2 KB
tabnanny.py -rwxr-xr-x 11.1 KB
tarfile.py -rw-r--r-- 82.8 KB
telnetlib.py -rw-r--r-- 21.0 KB
tempfile.py -rw-r--r-- 18.3 KB
textwrap.py -rw-r--r-- 15.3 KB
this.py -rw-r--r-- 1003 bytes
threading.py -rw-r--r-- 30.1 KB
timeit.py -rw-r--r-- 11.7 KB
token.py -rwxr-xr-x 2.9 KB
tokenize.py -rw-r--r-- 17.6 KB
trace.py -rw-r--r-- 29.5 KB
traceback.py -rw-r--r-- 11.7 KB
tty.py -rw-r--r-- 879 bytes
turtle.py -rw-r--r-- 136.3 KB
types.py -rw-r--r-- 1.1 KB
unittest.py -rw-r--r-- 56.2 KB
uu.py -rwxr-xr-x 6.0 KB
uuid.py -rw-r--r-- 20.5 KB
warnings.py -rw-r--r-- 12.6 KB
wave.py -rw-r--r-- 17.5 KB
weakref.py -rw-r--r-- 9.3 KB
webbrowser.py -rw-r--r-- 20.5 KB
wsgiref.egg-info -rw-r--r-- 187 bytes
xdrlib.py -rw-r--r-- 5.3 KB
zipfile.py -rw-r--r-- 52.4 KB

back to top