python-unittest2-0.5.1-3.sdl6.noarch.rpm

Description

python-unittest2 - Backport of new unittest features for Python 2.7 to Python 2.4+

Property

Value

Distribution

CentOS 6

Repository

PUIAS Computational i386

Package name

python-unittest2

Package version

0.5.1

Package release

3.sdl6

Package architecture

noarch

Package type

rpm

Installed size

678.23 KB

Download size

137.88 KB

Official Mirror

springdale.math.ias.edu

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.