Install Unit2 On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

Install Unit2 On A Debian, Ubuntu, Arch, Kali, Fedora And Raspbian

unit2

New features in unittest for Python 2

Maintainer: Debian Python Modules Team



Section: python

Install unit2

  • Debian apt-get install python-unittest2 Click to copy
  • Ubuntu apt-get install python-unittest2 Click to copy
  • Arch Linux pacman -S python2-unittest2 Click to copy
  • Kali Linux apt-get install python-unittest2 Click to copy
  • Fedora dnf install python2-unittest2 Click to copy
  • Raspbian apt-get install python-unittest2 Click to copy

python2-unittest2

New features in unittest for Python 2

python-unittest2

backport of the enhanced unittest testing framework - Python 2.7

unittest2 is an enhanced version of unittest including a standard test runner (automatic test discovery), class and module level fixtures (setUpClass / setUpModule etc), many powerful new assert methods, better resource management with addCleanups and a host of other new features. These new features are *all* going into the Python version of unittest in Python 2.7 and Python 3.2. The point of unittest2 is that it works with Python 2.4 - 2.6; you can use it now. This package contains the Python 2.7 module.

Installation of latest unit2 command is available for Debian, Ubuntu, Arch, Kali, Fedora and Raspbian. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.