Py.test Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian

Py.test Installation On A Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora And Raspbian

py.test

Simple, powerful testing in Python

Maintainer: Debian Python Modules Team



Section: python

Install py.test

  • Debian apt-get install python-pytest Click to copy
  • Ubuntu apt-get install python-pytest Click to copy
  • Alpine OS apk add pytest Click to copy
  • Arch Linux pacman -S python-pytest Click to copy
  • Kali Linux apt-get install python-pytest Click to copy
  • CentOS yum install pytest Click to copy
  • Fedora dnf install python2-pytest Click to copy
  • Raspbian apt-get install python-pytest Click to copy

python-pytest

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.

python2-pytest

Simple powerful testing with Python

pytest

Simple powerful testing with Python

python-pytest32

Simple powerful testing with Python (Legacy 3.2.x version)
To install the latest version of py.test in your favorite operating system just copy the py.test installation command from above and paste it into terminal. It will download and install the latest version of py.test 2026 package in your OS.