Staging
v0.5.0
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
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.bzrignore -rw-r--r-- 673 bytes
.hgignore -rw-r--r-- 866 bytes
.hgtags -rw-r--r-- 3.4 KB
LICENSE -rw-r--r-- 13.7 KB
Makefile.pre.in -rw-r--r-- 38.3 KB
README -rw-r--r-- 7.7 KB
RELNOTES -rw-r--r-- 1.4 KB
configure -rwxr-xr-x 667.1 KB
configure.in -rw-r--r-- 104.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 30.1 KB
runtests.sh -rwxr-xr-x 2.1 KB
setup.py -rw-r--r-- 63.9 KB

README

back to top