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.

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-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

  • 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.

Project details


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.7.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

pytest_astropy-0.7.0-py2.py3-none-any.whl (3.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-astropy-0.7.0.tar.gz.

File metadata

  • Download URL: pytest-astropy-0.7.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.5

File hashes

Hashes for pytest-astropy-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0e383262b2f9c2ef456cdd612cb0c485430a6a2530e3d5662e8930702e0bdd44
MD5 c76ffcedd809bdc6a9e8559ab80ac475
BLAKE2b-256 a0582c23fde61ddd44c99203c5bc487bdf6dc6310f13215034ff6de40b79b787

See more details on using hashes here.

Provenance

File details

Details for the file pytest_astropy-0.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pytest_astropy-0.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.5

File hashes

Hashes for pytest_astropy-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a2d92abf06f88ea4738f6f90ccc73d472d16d8cf41b31b09e0c616cb13a737b
MD5 4197ba5be88be3cce1d28ef4e9e3d7bb
BLAKE2b-256 ab0f90ad3af438888bf5871363eed97cc85f15ae98f9fac6f5117694365be70c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page