Package : python-unittest2 > RPM : python-unittest2-1.1.0-11.mga8.src.rpm
Basic items
Name | python-unittest2 |
Version | 1.1.0 |
Release | 11.mga8 |
URL | http://pypi.python.org/pypi/unittest2 |
Group | Development/Python |
Summary | Backport of new unittest features for Python 2.7 to Python 2.4+ |
Size | 87KB |
Arch | noarch |
License | BSD |
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.
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.
Media information
Distribution release | Mageia 8 |
Media name | core-release |
Media arch | aarch64 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2020-02-16 05:02:50 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |