Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 106ce9e3ee9cf8054da3a6a5cb7cce11

python3-unittest2-1.1.0-8.mga7.noarch.rpm

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 - 3.2 - 3.3 - 3.4 and pypy.

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.

Sources packages:

Other version of this rpm: