Fedora 13 Update: python-unittest2-0.5.1-1.fc13

updates at fedoraproject.org updates at fedoraproject.org
Thu Aug 26 00:55:30 UTC 2010


--------------------------------------------------------------------------------
Fedora Update Notification
FEDORA-2010-12872
2010-08-17 05:07:01
--------------------------------------------------------------------------------

Name        : python-unittest2
Product     : Fedora 13
Version     : 0.5.1
Release     : 1.fc13
URL         : http://pypi.python.org/pypi/unittest2
Summary     : Backport of new unittest features for Python 2.7 to Python 2.4+
Description :
unittest2 is a backport of the new features added to the unittest
testing framework in Python 2.7. It is tested to run on Python 2.4 -
2.6.

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

Classes in unittest2 derive from the equivalent classes in unittest,
so it should be possible to use the unittest2 test running infra-
structure without having to switch all your tests to using unittest2
immediately. Similarly
you can use the new assert methods on ``unittest2.TestCase`` with the
standard unittest test running infrastructure. Not all of the new
features in unittest2 will work with the standard unittest test loaders
and runners however.

--------------------------------------------------------------------------------
Update Information:

unittest2 is a backport of the new features added to the unittest  testing
framework in Python 2.7. It is tested to run on Python 2.4 - 2.6.    To use
unittest2 instead of unittest simply replace ``import unittest`` with ``import
unittest2``.    Classes in unittest2 derive from the equivalent classes in
unittest,  so it should be possible to use the unittest2 test running infra-
structure without having to switch all your tests to using unittest2
immediately. Similarly  you can use the new assert methods on
``unittest2.TestCase`` with the  standard unittest test running infrastructure.
Not all of the new  features in unittest2 will work with the standard unittest
test loaders  and runners however.
--------------------------------------------------------------------------------
References:

  [ 1 ] Bug #611080 - Review Request: python-unittest2 - Backport of new unittest feature for Python 2.7 to Python 2.4+
        https://bugzilla.redhat.com/show_bug.cgi?id=611080
--------------------------------------------------------------------------------

This update can be installed with the "yum" update program.  Use 
su -c 'yum update python-unittest2' at the command line.
For more information, refer to "Managing Software with yum",
available at http://docs.fedoraproject.org/yum/.

All packages are signed with the Fedora Project GPG key.  More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------


More information about the package-announce mailing list