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

A Pytest plugin to drop duplicated tests during collection.

Pytest by default will collect all tests from directories or files given in the command-line. For example, if you execute:

py.test tests/unit tests/

Tests from tests/unit will appear twice, because they will be collected again when pytest sees the tests directory in the command-line.

This plugin is intended for the cases where the user wants to run all tests from tests/unit first and then the rest of the tests under tests, without duplicates.

This plugin was born from the discussion taken in #1187.

This Pytest plugin was generated with Cookiecutter along with @hackebrot’s Cookiecutter-pytest-plugin template.


  • Python 2.7 or 3.4+
  • pytest >= 2.7


You can install “pytest-drop-dup-tests” via pip from PyPI:

$ pip install pytest-drop-dup-tests


The plugin is enabled by default, no other action is necessary.


Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.


Distributed under the terms of the MIT license, “pytest-drop-dup-tests” is free and open source software


If you encounter any problems, please file an issue along with a detailed description.

Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pytest_drop_dup_tests-0.1.0-py3-none-any.whl (2.6 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Nov 27, 2015 (7.1 kB) Copy SHA256 Checksum SHA256 Source Nov 27, 2015

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting