Skip to main content
Zenodo DOI

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 package also provides the short option -R for --remote-data.

Dependencies

The following dependencies are installed by this package:

  • The pytest testing framework for Python.

  • pytest-astropy-header, a pytest plugin used for custom test header.

  • 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-arraydiff, a pytest plugin that enables the generation and comparison of data arrays produced during unit tests.

  • pytest-filter-subpackage, a pytest plugin that adds a -P option to pytest to filter by sub-package.

  • pytest-mock, a thin-wrapper around the mock package for easier use with pytest.

  • pytest-cov, a pytest plugin to measure test coverage.

  • pytest-skip-slow, a pytest plugin to mark tests as slow or memory intensive, and skip them by default.

  • hypothesis, a Python library for property based testing.

Installation

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 https://github.com/astropy/pytest-astropy
$ cd pytest-astropy
$ python ./setup.py 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.

License

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

Download files

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

Source Distribution

pytest_astropy-0.12.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_astropy-0.12.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file pytest_astropy-0.12.0.tar.gz.

File metadata

  • Download URL: pytest_astropy-0.12.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pytest_astropy-0.12.0.tar.gz
Algorithm Hash digest
SHA256 0bdff1fa67a7856ec899c6f7810a86911253d76201a30822d7e4ef14b671bdc0
MD5 6cf0fa49f5143404bd8f5bb23896b7c1
BLAKE2b-256 47b1586ef2bfa1b16a00c8811045176530c3a35d93b0509f7a1645b30107765d

See more details on using hashes here.

File details

Details for the file pytest_astropy-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_astropy-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65b09c2c3e3378626214ed01dc298d501258bfd16c20bea17c777278438ee241
MD5 b974bbc91ce8eff08d5df10f94cbbe59
BLAKE2b-256 754acc3f82ff76c5f69a67b3452709e9f0428f89af88df6eb99f796003bc1c41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page