Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Functions to help in using the pytest testing framework

Project Description

The pytest-helper package provides several functions which make it easier to set up and run unit tests in Python using the pytest testing framework. For example, there is a function to make modules self-testing whenever they are executed as scripts, and a function to simplify making modifications to the Python search path. One of the most useful features is that relative pathnames are relative to the directory of the file in which they occur (i.e., not relative to the CWD). This package makes use of pytest but is independent of the official pytest project.

For examples and full documentation, see

The easiest way to install is to install from PyPI using pip:

pip install pytest-helper

Release History

This version
History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(18.2 kB) Copy SHA256 Hash SHA256
Source None Sep 11, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting