Skip to main content

Meta-package containing dependencies for testing

Project description

This is a meta-package that pulls in the dependencies that are used by astropy and some affiliated packages for testing. It can also be used for testing packages that are not affiliated with the Astropy project.


The following dependencies are installed by this package:

  • The pytest testing framework for Python
  • pytest-remotedata, a pytest plugin used for controlling access to data files hosted online
  • pytest-doctestplus, a pytest plugin that provides advanced features for testing example code in documentation
  • pytest-openfiles, a pytest plugin for detecting file handles that were inadvertently left open at the end of unit tests
  • pytest-arraydiff, a pytest plugin that enables the generation and comparison of data arrays produced during unit tests


The pytest-astropy plugin can be installed using pip:

$ pip install pytest-astropy

It is also possible to install the latest development version from the source repository:

$ git clone
$ cd pytest-astropy
$ python ./ install

In either case, the plugin will automatically be registered for use with pytest.

Development Status

Questions, bug reports, and feature requests can be submitted on github.


This package is licensed under a 3-clause BSD style license - see the LICENSE.rst file.

Project details

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
pytest-astropy-0.5.0.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page