How To Install Python2-unit2 On Debian, Ubuntu, Kali And Raspbian?

How To Install Python2-unit2 On Debian, Ubuntu, Kali And Raspbian?

python2-unit2

backport of the enhanced unittest testing framework – Python 2.7

Maintainer: Debian Python Modules Team



Section: python

Install python2-unit2

  • Debian apt-get install python-unittest2 Click to copy
  • Ubuntu apt-get install python-unittest2 Click to copy
  • Kali Linux apt-get install python-unittest2 Click to copy
  • Raspbian apt-get install python-unittest2 Click to copy

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.

Installing python2-unit2 command is simple. just copy one of the above commands for your operating system and paste it into terminal. This command is available for Debian, Ubuntu, Kali and Raspbian operating systems. Once you run the command it will install the latest version of python2-unit2 2026 package in your OS.