@@ -0,0 +1,2135 @@
+# This file is used to configure the behavior of pytest when using the Astropy%0A# test infrastructure.%0Aimport os%0A%0Afrom astropy.version import version as astropy_version%0Aif astropy_version %3C '3.0':%0A    # With older versions of Astropy, we actually need to import the pytest%0A    # plugins themselves in order to make them discoverable by pytest.%0A    from astropy.tests.pytest_plugins import *%0Aelse:%0A    # As of Astropy 3.0, the pytest plugins provided by Astropy are%0A    # automatically made available when Astropy is installed. This means it's%0A    # not necessary to import them here, but we still need to import global%0A    # variables that are used for configuration.%0A    from astropy.tests.plugins.display import PYTEST_HEADER_MODULES, TESTED_VERSIONS%0A%0Afrom astropy.tests.helper import enable_deprecations_as_exceptions%0A%0A## Uncomment the following line to treat all DeprecationWarnings as%0A## exceptions. For Astropy v2.0 or later, there are 2 additional keywords,%0A## as follow (although default should work for most cases).%0A## To ignore some packages that produce deprecation warnings on import%0A## (in addition to 'compiler', 'scipy', 'pygments', 'ipykernel', and%0A## 'setuptools'), add:%0A##     modules_to_ignore_on_import=%5B'module_1', 'module_2'%5D%0A## To ignore some specific deprecation warning messages for Python version%0A## MAJOR.MINOR or later, add:%0A##     warnings_to_ignore_by_pyver=%7B(MAJOR, MINOR): %5B'Message to ignore'%5D%7D%0A# enable_deprecations_as_exceptions()%0A%0A# Customize the following lines to add/remove entries from%0A# the list of packages for which version numbers are displayed when running%0A# the tests. Making it pass for KeyError is essential in some cases when%0A# the package uses other astropy affiliated packages.%0Atry:%0A    PYTEST_HEADER_MODULES%5B'Astropy'%5D = 'astropy'%0A    del PYTEST_HEADER_MODULES%5B'h5py'%5D%0Aexcept KeyError:%0A    pass%0A%0A# This is to figure out the package version, rather than%0A# using Astropy's%0Afrom .version import version, astropy_helpers_version%0A%0Apackagename = os.path.basename(os.path.dirname(__file__))%0ATESTED_VERSIONS%5Bpackagename%5D = version%0ATESTED_VERSIONS%5B'astropy_helpers'%5D = astropy_helpers_version%0A

Create conftest.py