How to Install and Uninstall python-unittest2 Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 21,2024

1. Install "python-unittest2" package

Please follow the guidelines below to install python-unittest2 on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-unittest2

2. Uninstall "python-unittest2" package

In this section, we are going to explain the necessary steps to uninstall python-unittest2 on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-unittest2 $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-unittest2 package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-unittest2
Priority: optional
Section: python
Installed-Size: 467
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: unittest2
Version: 1.1.0-6.1
Depends: python-pkg-resources, python-linecache2, python-six (>= 1.4), python-traceback2, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Filename: pool/main/u/unittest2/python-unittest2_1.1.0-6.1_all.deb
Size: 75504
MD5sum: 6397219a70755540b189441caaa3d5d0
SHA1: 1add88b9c93d884ac7dc452b1127b9c5940a9377
SHA256: 12dd202d7387699bccff882ae34ea7cfd065dc60855ab054e99c05821f01ca06
Description-en: 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.
Description-md5: e0dfd4b6e7a577e3f11a8a9900f6a125
Homepage: http://pypi.python.org/pypi/unittest2
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y