You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 13 / python-unittest2-0.5.1-1.fc13.noarch

python-unittest2-0.5.1-1.fc13.noarch

Package Attributes
RPM  python-unittest2-0.5.1-1.fc13.noarch.rpm Architecture  noarch Size  694376 Created  2017/08/04 11:09:48 UTC
Package Specification
Summary Backport of new unittest features for Python 2.7 to Python 2.4+
Group Development/Languages
License BSD
Home Page http://pypi.python.org/pypi/unittest2
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.

Requires
/usr/bin/python  
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(PayloadIsXz)  
Provides
python-unittest2

Document Actions