How to Install python3-pytest in Ubuntu 18.04



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

sudo apt update
sudo apt install python3-pytest

Description:

Simple, powerful testing in Python3

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 3 module and the py.test-3 script.

Homepage: https://pytest.org/

Version: 3.3.2-2

Section: universe/python