How to Install python-pytest in Ubuntu 18.04



Install python-pytest by entering the following commands in the terminal:

sudo apt update
sudo apt install python-pytest

Description:

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. . This package provides the Python 2 modules and the py.test script.

Homepage: https://pytest.org/

Version: 3.3.2-2

Section: universe/python