./devel/py-unittest2, New features in unittest backported to Python 2.4+

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.0, Package name: py27-unittest2-1.1.0, Maintainer: pkgsrc-users

Unittest2 is a backport of the new features added to the unittest testing
framework in Python 2.7 and onwards. It is tested to run on Python 2.6, 2.7,
3.2, 3.3, 3.4 and pypy.

To use unittest2 instead of unittest simply replace ''import unittest'' with
''import unittest2''.


Required to run:
[devel/py-setuptools] [devel/py-argparse] [lang/python27] [lang/py-six] [devel/py-linecache2] [devel/py-traceback2]

Master sites:

SHA1: 267454e401bbf32a4c63a5f6ac437222924a53d8
RMD160: b9294b1ef9a6f0f7d8d2419b3260fc27ba81777d
Filesize: 79.523 KB

Version history: (Expand)


CVS history: (Expand)


   2016-08-28 17:48:37 by Thomas Klausner | Files touched by this commit (112)
Log message:
Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.
   2016-01-09 16:28:39 by Thomas Klausner | Files touched by this commit (1)
Log message:
Add two missing dependencies.
   2016-01-07 13:11:25 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update py-unittest2 to 1.1.0:

2015-06-20 - 1.1.0

  • Issue #15836: assertRaises(), assertRaisesRegex(), assertWarns() and
    assertWarnsRegex() assertments now check the type of the first argument to
    prevent possible user error. Based on patch by Daniel Wagner-Hall.
  • Issue #24134: assertRaises(), assertRaisesRegex(), assertWarns() and
    assertWarnsRegex() checks now emits a deprecation warning when callable is
    None or keyword arguments except msg is passed in the context manager mode.
  • Issue #22903: The fake test case created by unittest.loader when it fails
    importing a test module is now picklable.

2015-03-12 - 1.0.1

  • Unittest2 issue #94: Need at least 1.4 of six.

2015-03-06 - 1.0.0

  • Issue #22936: Permit showing local variables in tracebacks.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-12-13 09:36:03 by OBATA Akio | Files touched by this commit (5) | Package updated
Log message:
Update py-unittests to 0.8.0.

CHANGELOG

2014/11/05 - 0.8
* Issue #22457: Honour load_tests in the start_dir of discovery.

2014/10/31 - 0.7.1

Fix for 0.7.0 being broken. Also switches from both manual and entrypoint
scripts to just entrypoint scripts to reduce the possibility of similar
oversights in future.

2014/10/31 - 0.7.0

This release contains backports from cPython 3.5 of all (I think) commits since
2010, as of today.

2014/10/28 - 0.6.0

Many thanks to Mark Roddy and Ezio Melotti who contributed substantially to
this release.
* Changed supported Python versions to start at 2.6, and include all released \ 
3.x and pypy. (Robert Collins)
* Invoking unit2 without args starts test discovery
* Added TestCase.assertWarns and TestCase.assertWarnsRegexp context managers
* Fix Python issue 9926. TestSuite subclasses that override __call__ are called \ 
correctly.
* Removed unused maxDiff parameter from TestCase.assertSequenceEqual.
* DeprecationWarning for unsupported result objects (missing addSkip method) \ 
became RuntimeWarning.
* Addition of TestCase.assertWarns as a context manager.
   2014-06-23 12:46:04 by Blue Rats | Files touched by this commit (1)
Log message:
Forgot @PREFIX@.
   2014-06-23 12:43:45 by Blue Rats | Files touched by this commit (3) | Package updated
Log message:
Use ALTERNATIVES. Remove bin/unit2, since it's not different fundamentally
than unit2-${PYVERSSUFFIX}. Move bin/unit2.py so it doesn't conflict with
the py3k version of this package. Bump PKGREVISION. OK'd by wiz@.