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

Last updated: May 15,2024

1. Install "python-pytest" package

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

$ sudo apt update $ sudo apt install python-pytest

2. Uninstall "python-pytest" package

This tutorial shows how to uninstall python-pytest on Ubuntu 16.04 LTS (Xenial Xerus):

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

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

Package: python-pytest
Priority: optional
Section: universe/python
Installed-Size: 540
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Architecture: all
Source: pytest
Version: 2.8.7-4
Depends: python-pkg-resources, python-py (>= 1.4.29), python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: python-mock (>= 1.0.1)
Filename: pool/universe/p/pytest/python-pytest_2.8.7-4_all.deb
Size: 119056
MD5sum: e4d6d0860e4d4957dcdfca8d16836dcc
SHA1: 1f2617021be14d93e8fa7f192e0f30785dbfcf8e
SHA256: c2629fdda543e3e33255035fd74da32ea4176ea3c45432e11434d5aba4ac8862
Description-en: Simple, powerful testing in Python
This testing tool has for objective to allow the developers to limit the
boilerplate code around the tests, promoting the use of built-in
mechanisms such as the `assert` keyword.
Description-md5: 914ea2542a4efad13187a05480185e62
Homepage: http://pytest.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu