././@PaxHeader0000000000000000000000000000002700000000000011454 xustar000000000000000023 mtime=1632241756.78 pytest-astropy-0.9.0/0000755000175000017500000000000000000000000014134 5ustar00limlim00000000000000././@PaxHeader0000000000000000000000000000002700000000000011454 xustar000000000000000023 mtime=1632241756.78 pytest-astropy-0.9.0/.github/0000755000175000017500000000000000000000000015474 5ustar00limlim00000000000000././@PaxHeader0000000000000000000000000000002700000000000011454 xustar000000000000000023 mtime=1632241756.78 pytest-astropy-0.9.0/.github/workflows/0000755000175000017500000000000000000000000017531 5ustar00limlim00000000000000././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632238080.0 pytest-astropy-0.9.0/.github/workflows/publish.yml0000644000175000017500000000222100000000000021717 0ustar00limlim00000000000000name: Release on: pull_request: push: tags: - '*' jobs: build-n-publish: name: Build and publish Python 🐍 distributions 📦 to PyPI runs-on: ubuntu-latest if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels')) steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - uses: actions/setup-python@v2 with: python-version: 3.8 - name: Install python-build and twine run: python -m pip install build "twine>=3.3" - name: Build package run: python -m build --sdist --wheel . - name: List result run: ls -l dist - name: Check long_description run: python -m twine check --strict dist/* #- name: Test package # run: | # cd .. # python -m venv testenv # testenv/bin/pip install pytest pytest-astropy/dist/*.whl - name: Publish distribution 📦 to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ password: ${{ secrets.pypi_password }} ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632173634.0 pytest-astropy-0.9.0/.gitignore0000644000175000017500000000106000000000000016121 0ustar00limlim00000000000000# Compiled files *.py[cod] *.a *.o *.so *.pyd __pycache__ # Ignore .c files by default to avoid including generated code. If you want to # add a non-generated .c extension, use `git add -f filename.c`. *.c # Other generated files MANIFEST # Sphinx _build _generated docs/api docs/generated # Packages/installer info *.egg *.egg-info dist build eggs .eggs parts bin var sdist develop-eggs .installed.cfg distribute-*.tar.gz # Other .cache .tox .*.swp .*.swo *~ .project .pydevproject .settings .coverage cover htmlcov # Mac OSX .DS_Store # PyCharm .idea ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241336.0 pytest-astropy-0.9.0/CHANGES.rst0000644000175000017500000000267000000000000015743 0ustar00limlim000000000000000.9.0 (2021-09-21) ================== - Added ``pytest-mock`` as dependency. [#31] - Require ``pytest-cov`` 2.3.1 or later. [#41] - Require ``pytest-doctestplus`` 0.11.0 or later. [#43] - Dropped support for Python 3.6. [#43] 0.8.0 (2020-01-16) ================== - Added ``pytest-filter-subpackage`` and ``pytest-cov`` as dependencies. [#29] - Dropped support for Python 2.7 and 3.5. [#29] - Require Hypothesis 5.1 or later. [#29] 0.7.0 (2019-12-10) ================== - Added ``hypothesis` as a dependency. [#25] 0.6.0 (2019-10-25) ================== - Added ``pytest-astropy-header`` as a dependency. 0.5.0 (2018-11-26) ================== - Updates to ``pytest-remotedata``, ``pytest-doctestplus``, and ``pytest-openfiles``. [#14] 0.4.0 (2018-05-29) ================== - Update ``pytest-remotedata`` to reflect new version. [#12] 0.3.0 (2018-04-20) ================== - Explicitly pin ``pytest-arraydiff`` to version >= 0.1. [#10] - Update dependencies on ``pytest-doctestplus``, ``pytest-remotedata``, and ``pytest-openfiles`` to reflect recent releases. [#11] 0.2.1 (2017-12-08) ================== - Remove dependency on ``pytest-mpl`` since it introduces a dependency on ``matplotlib``, which is not always desirable. 0.2.0 (2017-12-07) ================== - Update REAME. Use README as long description on PyPi. [#7] - Update dependency versions of Astropy-specific plugins. 0.1 (2017-10-10) ================ - Alpha release. ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632238080.0 pytest-astropy-0.9.0/LICENSE.rst0000644000175000017500000000273000000000000015752 0ustar00limlim00000000000000Copyright (c) 2011-2021, Astropy Developers All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Astropy Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632173634.0 pytest-astropy-0.9.0/MANIFEST.in0000644000175000017500000000007300000000000015672 0ustar00limlim00000000000000include LICENSE.rst include README.rst include CHANGES.rst ././@PaxHeader0000000000000000000000000000002700000000000011454 xustar000000000000000023 mtime=1632241756.78 pytest-astropy-0.9.0/PKG-INFO0000644000175000017500000000733100000000000015235 0ustar00limlim00000000000000Metadata-Version: 2.1 Name: pytest-astropy Version: 0.9.0 Summary: Meta-package containing dependencies for testing Home-page: https://github.com/astropy/pytest-astropy Author: The Astropy Developers Author-email: astropy.team@gmail.com License: BSD Keywords: pytest,remotedata,openfiles,doctestplus,hypothesis,property-based testing Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Pytest Classifier: Framework :: Hypothesis Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities Requires-Python: >=3.7 License-File: LICENSE.rst ============== pytest-astropy ============== 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. .. _astropy: https://docs.astropy.org/en/latest/ .. _affiliated packages: https://astropy.org/affiliated 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. * `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. * `hypothesis`_, a Python library for property based testing. .. _pytest: https://doc.pytest.org .. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header .. _pytest-remotedata: https://github.com/astropy/pytest-remotedata .. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus .. _pytest-openfiles: https://github.com/astropy/pytest-openfiles .. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff .. _pytest-filter-subpackage: https://github.com/astropy/pytest-filter-subpackage .. _pytest-mock: https://github.com/pytest-dev/pytest-mock .. _pytest-cov: https://github.com/pytest-dev/pytest-cov .. _hypothesis: https://hypothesis.readthedocs.io 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`_. .. _github: https://github.com/astropy/pytest-astropy License ------- This package is licensed under a 3-clause BSD style license - see the ``LICENSE.rst`` file. ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632173747.0 pytest-astropy-0.9.0/README.rst0000644000175000017500000000525000000000000015625 0ustar00limlim00000000000000============== pytest-astropy ============== 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. .. _astropy: https://docs.astropy.org/en/latest/ .. _affiliated packages: https://astropy.org/affiliated 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. * `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. * `hypothesis`_, a Python library for property based testing. .. _pytest: https://doc.pytest.org .. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header .. _pytest-remotedata: https://github.com/astropy/pytest-remotedata .. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus .. _pytest-openfiles: https://github.com/astropy/pytest-openfiles .. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff .. _pytest-filter-subpackage: https://github.com/astropy/pytest-filter-subpackage .. _pytest-mock: https://github.com/pytest-dev/pytest-mock .. _pytest-cov: https://github.com/pytest-dev/pytest-cov .. _hypothesis: https://hypothesis.readthedocs.io 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`_. .. _github: https://github.com/astropy/pytest-astropy License ------- This package is licensed under a 3-clause BSD style license - see the ``LICENSE.rst`` file. ././@PaxHeader0000000000000000000000000000002700000000000011454 xustar000000000000000023 mtime=1632241756.78 pytest-astropy-0.9.0/pytest_astropy.egg-info/0000755000175000017500000000000000000000000020737 5ustar00limlim00000000000000././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241756.0 pytest-astropy-0.9.0/pytest_astropy.egg-info/PKG-INFO0000644000175000017500000000733100000000000022040 0ustar00limlim00000000000000Metadata-Version: 2.1 Name: pytest-astropy Version: 0.9.0 Summary: Meta-package containing dependencies for testing Home-page: https://github.com/astropy/pytest-astropy Author: The Astropy Developers Author-email: astropy.team@gmail.com License: BSD Keywords: pytest,remotedata,openfiles,doctestplus,hypothesis,property-based testing Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Pytest Classifier: Framework :: Hypothesis Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities Requires-Python: >=3.7 License-File: LICENSE.rst ============== pytest-astropy ============== 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. .. _astropy: https://docs.astropy.org/en/latest/ .. _affiliated packages: https://astropy.org/affiliated 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. * `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. * `hypothesis`_, a Python library for property based testing. .. _pytest: https://doc.pytest.org .. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header .. _pytest-remotedata: https://github.com/astropy/pytest-remotedata .. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus .. _pytest-openfiles: https://github.com/astropy/pytest-openfiles .. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff .. _pytest-filter-subpackage: https://github.com/astropy/pytest-filter-subpackage .. _pytest-mock: https://github.com/pytest-dev/pytest-mock .. _pytest-cov: https://github.com/pytest-dev/pytest-cov .. _hypothesis: https://hypothesis.readthedocs.io 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`_. .. _github: https://github.com/astropy/pytest-astropy License ------- This package is licensed under a 3-clause BSD style license - see the ``LICENSE.rst`` file. ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241756.0 pytest-astropy-0.9.0/pytest_astropy.egg-info/SOURCES.txt0000644000175000017500000000051400000000000022623 0ustar00limlim00000000000000.gitignore CHANGES.rst LICENSE.rst MANIFEST.in README.rst setup.cfg setup.py .github/workflows/publish.yml pytest_astropy.egg-info/PKG-INFO pytest_astropy.egg-info/SOURCES.txt pytest_astropy.egg-info/dependency_links.txt pytest_astropy.egg-info/not-zip-safe pytest_astropy.egg-info/requires.txt pytest_astropy.egg-info/top_level.txt././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241756.0 pytest-astropy-0.9.0/pytest_astropy.egg-info/dependency_links.txt0000644000175000017500000000000100000000000025005 0ustar00limlim00000000000000 ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241756.0 pytest-astropy-0.9.0/pytest_astropy.egg-info/not-zip-safe0000644000175000017500000000000100000000000023165 0ustar00limlim00000000000000 ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241756.0 pytest-astropy-0.9.0/pytest_astropy.egg-info/requires.txt0000644000175000017500000000035200000000000023337 0ustar00limlim00000000000000pytest>=4.6 pytest-doctestplus>=0.11.0 pytest-remotedata>=0.3.1 pytest-openfiles>=0.3.1 pytest-astropy-header>=0.1.2 pytest-arraydiff>=0.1 pytest-filter-subpackage>=0.1 pytest-cov>=2.3.1 pytest-mock>=2.0 attrs>=19.2.0 hypothesis>=5.1 ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632241756.0 pytest-astropy-0.9.0/pytest_astropy.egg-info/top_level.txt0000644000175000017500000000000100000000000023460 0ustar00limlim00000000000000 ././@PaxHeader0000000000000000000000000000002700000000000011454 xustar000000000000000023 mtime=1632241756.78 pytest-astropy-0.9.0/setup.cfg0000644000175000017500000000241100000000000015753 0ustar00limlim00000000000000[metadata] name = pytest-astropy url = https://github.com/astropy/pytest-astropy author = The Astropy Developers author_email = astropy.team@gmail.com classifiers = Development Status :: 5 - Production/Stable Framework :: Pytest Framework :: Hypothesis Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Testing Topic :: Utilities license = BSD description = Meta-package containing dependencies for testing long_description = file: README.rst keywords = pytest, remotedata, openfiles, doctestplus, hypothesis, property-based testing [options] zip_safe = False packages = find: python_requires = >=3.7 setup_requires = setuptools_scm install_requires = pytest>=4.6 pytest-doctestplus>=0.11.0 pytest-remotedata>=0.3.1 pytest-openfiles>=0.3.1 pytest-astropy-header>=0.1.2 pytest-arraydiff>=0.1 pytest-filter-subpackage>=0.1 pytest-cov>=2.3.1 pytest-mock>=2.0 attrs>=19.2.0 hypothesis>=5.1 [egg_info] tag_build = tag_date = 0 ././@PaxHeader0000000000000000000000000000002600000000000011453 xustar000000000000000022 mtime=1632173634.0 pytest-astropy-0.9.0/setup.py0000755000175000017500000000071100000000000015650 0ustar00limlim00000000000000#!/usr/bin/env python import sys import setuptools from distutils.version import LooseVersion from setuptools import setup # Setuptools 30.3.0 or later is needed for setup.cfg options to be used if LooseVersion(setuptools.__version__) < LooseVersion('30.3.0'): sys.stderr.write("ERROR: pytest-astropy requires setuptools 30.3.0 or " "later (found {0})".format(setuptools.__version__)) sys.exit(1) setup(use_scm_version=True)