Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/astropy/pytest-remotedata

Pytest plugin to control whether tests are run that have remote data
https://github.com/astropy/pytest-remotedata

Update docs

cd6e26c7f3a48d9371b40db31d8770f2b5635c89 authored about 8 years ago by Stuart Mumford <[email protected]>
Add docs to test runner and astropy.test

f20697492d41428baded57d9cd5fef87959a83a0 authored about 8 years ago by Stuart Mumford <[email protected]>
Make remote_data return a list

87132c655f0e7ff9507f505efb753680433f4b17 authored about 8 years ago by Thomas Robitaille <[email protected]>
exclude test_ files in astropy/tests from coverage

b265c35bf576f8fc285c8a4795beda55a380aabe authored about 8 years ago by Stuart Mumford <[email protected]>
Fix tests increase coverage

3aaae090bf972fb5808bc021ef7ada5a63299cfd authored about 8 years ago by Stuart Mumford <[email protected]>
Include test helpers in coverage report

ca32007182d321bacee9b2c072be0d05a23d94a2 authored about 8 years ago by Stuart Mumford <[email protected]>
Write tests: break everything

ac8a24345df32f5f0bc938992512e0c901edc453 authored about 8 years ago by Stuart Mumford <[email protected]>
Changes based on @astrofrog review

3858666625325f57bcf04fdf977dba1e629f52b1 authored about 8 years ago by Stuart Mumford <[email protected]>
I dislike Python 2

e4576a7dcce2fcf5c3c1bedbe5d8f1c4bc77e657 authored about 8 years ago by Stuart Mumford <[email protected]>
catch a couple of sneaky leftover non kwargs

8f8169d958b17b38eb5dc3da6ef035892c9109f6 authored about 8 years ago by Stuart Mumford <[email protected]>
don't need to explictly turn off docstring

If you don't want the docstring included subclass and don't set a docstring.

225bb1e77b7c433372170e26c269ac5ca5f66825 authored about 8 years ago by Stuart Mumford <[email protected]>
import vendored pytest where it used to be.

This actually breaks the whole point of this exercise, because it makes this
class astropy speci...

d02241184ef43750c67226d66882cbb92b8c6762 authored about 8 years ago by Stuart Mumford <[email protected]>
Make keyword arguments to the TestRunner methods

d1a12df9bc8f63ab5bc9d89e79a27388b320a19a authored about 8 years ago by Stuart Mumford <[email protected]>
remove deprecated raise StopIteration

__init_subclass__ was added in 3.6 (see PEP 487)
fix recwarn problems
remove deprecated escape se...

122c1363f1cd32044605d74110bc36f947de7cfc authored about 8 years ago by Michael Seifert <[email protected]>
Added instructions for how to generate reference images for image tests

3d708c0572a84cccddfac3e949931d6ccfcc4275 authored about 8 years ago by Thomas Robitaille <[email protected]>
Fix compatibility with cases where people have specified e.g. remote_data = 1 in setup.cfg, but emit a deprecation warning to get them to change it.

6466d751981dc2fe8189cc97721b53629777ecd9 authored about 8 years ago by Thomas Robitaille <[email protected]>
Fix default when --remote-data is not specified

cb69ad350cabb5d787f72196fdfefbfb90133c98 authored about 8 years ago by Thomas Robitaille <[email protected]>
Added changelog entry, and removed duplicate code

d4f6f3103c4ec58e4555e26a12871c2cdccbd715 authored about 8 years ago by Thomas Robitaille <[email protected]>
Minor fixes

4e8a4c0b1546fae5f6dc426d0099798e00482614 authored about 8 years ago by Thomas Robitaille <[email protected]>
Allow IP address for STScI astropy data server

f2ce08a596d853625c13e402942ef3a0650e0ff7 authored about 8 years ago by Thomas Robitaille <[email protected]>
Whitelist the STScI astropy data server

ded9edc96401bd13a839caa7f276e56cc7d49b0c authored about 8 years ago by Thomas Robitaille <[email protected]>
Make --remote-data default to 'none'

3bf99570ae7e6fbf3058b53eab440970e66d6dbb authored about 8 years ago by Thomas Robitaille <[email protected]>
Whitelist data.astropy.org by IP address too

48c050249ccf6e044de6a21a77ed39c8acd9c714 authored about 8 years ago by Thomas Robitaille <[email protected]>
Fix defaults

e245d61d2301a515629b9d6f9058792bd9857ee2 authored about 8 years ago by Thomas Robitaille <[email protected]>
Fix setup.py test --remote-data option and make sure it is backward-compatible

e262aa829dbc4904f73feb0c4c557d00cad500d9 authored about 8 years ago by Thomas Robitaille <[email protected]>
Expand tests for different remote data modes

8270297fe05ce126968df0f15c7f38d0125eb1c0 authored about 8 years ago by Thomas Robitaille <[email protected]>
Updated tests for skipping tests with remote data

61c40b430ba00479369bebf3ec4ee083611aff17 authored about 8 years ago by Thomas Robitaille <[email protected]>
Update remote_data decorator and testing option to support multiple modes. The --remote-data flag takes three possible options: 'none', 'astropy' (for data from data.astropy.org) and 'any'. If --remote-data is not specified, it defaults to 'astropy', and if it is specified without a mode, it defaults to 'any'

3ed375d91a66b8462d841c24036e1555dabd333c authored about 8 years ago by Thomas Robitaille <[email protected]>
Adding note [skip ci]

f9d0829a0fb1b1a4383c5a75c4bbbec2d14e1cba authored about 8 years ago by Brigitta Sipocz <[email protected]>
Adding back list to avoid RuntimeError

66098d1a6150bccbe89e9bb8955380a89a613461 authored about 8 years ago by Brigitta Sipocz <[email protected]>
Some remaining str formatting changes

135da67f4298abd4d0ab3ba04439181c29d38703 authored about 8 years ago by Brigitta Sipocz <[email protected]>
str formatting changes in io.ascii, modeling and some trivial ones in io.fits

bf839d0493afe0c1eadb481defdb95bd4f2c477c authored about 8 years ago by Brigitta Sipocz <[email protected]>
Merge pull request #5422 from MSeifert04/remove_erfa_from_coverage

Omit coverage tests for "_erfa" submodule files

759b80bbde2619214e61ecde41612a1cfc5db702 authored about 8 years ago by Thomas Robitaille <[email protected]>
Removed some unnecessary list creations

c5f39d031144a8e0dd8893de2ef937746ca853ee authored about 8 years ago by Michael Seifert <[email protected]>
omit coverage for files in _erfa

8abbacec8dfeea398bc6b12b83dc1b5a6beaf3a4 authored about 8 years ago by Michael Seifert <[email protected]>
replaced bare exceptions with except Exception or BaseException.

0cfb80e99d285f2caf7ebe9cdef88c12ac1c39e7 authored over 8 years ago by Michael Seifert <[email protected]>
Eliminate unwanted brackets

ed9672d42fce4940c1f7b3258f1ebd372d3bc155 authored over 8 years ago by mbachett <[email protected]>
Make astropy Py4-compatible

c46ff70fe260aee235837d655b2843b34f0b8a90 authored over 8 years ago by Matteo Bachetti <[email protected]>
replaced six.moves functions

b90e040d3b476b07f067918254889f6b49331321 authored over 8 years ago by Michael Seifert <[email protected]>
Merge pull request #5179 from adrn/deprecate-build_sphinx

Deprecate build_sphinx

cf3594bd3bfc9f719604eb011b388b8a803f5724 authored over 8 years ago by Thomas Robitaille <[email protected]>
remove mention of build_sphinx and change to build_docs in travis config

95320402de3be8d7579f31054d7795dc2e6f9430 authored over 8 years ago by Adrian Price-Whelan <[email protected]>
Added comment in command.py about install test and runtime deps.

c361995a6ad5381e2e829a634eb5283b42a48af4 authored over 8 years ago by Curtis McCully <[email protected]>
Install dependencies specified by the install_requires and tests_require via setuptools.

047105dd92755ef0085e584e50fb4822efde759e authored over 8 years ago by Curtis McCully <[email protected]>
Fix FLOAT_CMP to include the sign of the number looked at.

902e021ebd6517d52e1bf0aa1f8dfda9be3ea696 authored over 8 years ago by Marten van Kerkwijk <[email protected]>
Make sure that we take a copy of the dictionary keys, otherwise in Python 3 we run into issues, since we are modifying the dictionary on-the-fly, and this causes some of the keys to not be iterated over. For Python 2, this means taking an unnecessary copy, but this is not a performance-critical loop.

bcb9fcb864edd52b9568f6d1fd0d8d9bd0298adf authored over 8 years ago by Thomas Robitaille <[email protected]>
Fix whitespace

d182ec3e6110ed13e707d9c8da52cf7fdf1fd88e authored over 8 years ago by Thomas Robitaille <[email protected]>
Fix paths in .coverage file in Python 3 as well as Python 2, otherwise coverage reporting does not work in Python 3. This will not work in Python 3 for packages that still use 2to3, but this never worked anyway since the temporary files got deleted before.

620a1d4a68660731a2f4a533a0c99c6537517097 authored over 8 years ago by Thomas Robitaille <[email protected]>
Excluded fallback code from coverage to see if this fixes the coverage report

bcc958b027a7f534546226248c78df6da900d7b6 authored over 8 years ago by Pey Lian Lim <[email protected]>
try to get doctests from the sphinx source-dir

857a932b3fb0082b639836969bd416253f56a557 authored over 8 years ago by Erik Tollerud <[email protected]>
Test runner to handle docs path more gracefully

be3a2f43fbbc0a3958774a5ba82b4b3b61453f97 authored over 8 years ago by Pey Lian Lim <[email protected]>
Merge pull request #4349 from astrofrog/update-bundled-pytest

Update bundled py.test to 2.8.3

d1f5d427c0021a70957c0b8f11ececa2032c2f41 authored almost 9 years ago by Erik Tollerud <[email protected]>
Remove subprocess compatibility layer since Python 2.6 is no longer supported

dcc23d20c99f7aea0a888c779e1e7740e64fb802 authored almost 9 years ago by Pratik151 <[email protected]>
Added pylint directive to prevent unused import warnings in cases where the import is needed (e.g. to check the presence of a package)

0e9147cf70a2ee25543bef5d22edd6f71887e63f authored almost 9 years ago by Thomas Robitaille <[email protected]>
Remove unused imports

7049d6594c09643737fd4e6b74d558b0943e520b authored almost 9 years ago by Thomas Robitaille <[email protected]>
Remove more Python 2.6 compatibility patches

37e351855afb9d75ce51d5a6734b005e71ff1a7b authored almost 9 years ago by Thomas Robitaille <[email protected]>
Merge pull request #4490 from astrofrog/more-pep8-checking

Include two new warnings/errors in PEP8 checks

76e3f38db59abab01a87d0585c14daf204ed16b6 authored almost 9 years ago by Marten van Kerkwijk <[email protected]>
Fix PEP8 failures

010dc8ee359c366450b611635c22a9dd672eb697 authored almost 9 years ago by Thomas Robitaille <[email protected]>
Remove reference to gzip compat module in test_imports

29960b9365463af3c5b85dbf9c55d772c12dc7ea authored almost 9 years ago by Thomas Robitaille <[email protected]>
Merge pull request #4463 from astrofrog/remove-fractions-compat

Remove fractions compatibility layer since we now no longer support Python 2.6

0c16a28226ed9539ecec59d3fd6b013c535ae8a3 authored almost 9 years ago by Marten van Kerkwijk <[email protected]>
Merge pull request #4478 from astrofrog/fix-missing-import

Fix missing import in astropy.tests.runner

436dd807fb21300a3c8cf937210e05533349fbf6 authored almost 9 years ago by Thomas Robitaille <[email protected]>
Remove reference to odict compat module in test_imports

487110ef4127b8faae54b40efb8c39b028a8f2ec authored almost 9 years ago by Thomas Robitaille <[email protected]>
Fix missing import

259b61d6c19b557c8e4ae12bb9bf8bbc33d1e9ec authored almost 9 years ago by Thomas Robitaille <[email protected]>
Remove fractions compatibility layer since we now no longer support Python 2.6

c928d52ebcb1f0a2eae940bd7942336e32a84527 authored almost 9 years ago by Thomas Robitaille <[email protected]>
Remove odict compatibility layer since we now no longer support Python 2.6

c38563b3119bf06efdba4302fb86d46e44a7d26a authored almost 9 years ago by Thomas Robitaille <[email protected]>
Fix case where encoding is defined but set to None

4e192f0068dd6e63588c7556856a863bf7fa778a authored almost 9 years ago by Thomas Robitaille <[email protected]>
Use try...except for getting encoding because in recent versions of pytest, stdout is replaced by ChannelFileWrite which doesn’t have an encoding attribute.

f07237bdfc52a1bb2800d5cf6b3e968d9fc2ee06 authored almost 9 years ago by Thomas Robitaille <[email protected]>
Fixes to pytest plugins for pytest >= 2.8.0

dfc64ec218fda32f3a7d58d26f41e01b3c7d60dc authored almost 9 years ago by Thomas Robitaille <[email protected]>
Add pandas version to the test report while we're at it

bae3beab632ac4dcd1399bb663510e537e972819 authored about 9 years ago by Erik M. Bray <[email protected]>
Also ignore DeprecationWarnings coming from third-party modules when generating the test report header--would rather this not bring down the whole test

e08ac9603f76bf361e55369480a19fdf868bc211 authored about 9 years ago by Erik M. Bray <[email protected]>
Move ignore_warnings decorator/context manager to astropy.tests.helper so that it can be used by more than just the FITS tests.

23d99612dc50292427d1af75b68d483e59660187 authored about 9 years ago by Erik M. Bray <[email protected]>
Adds Python version specific IGNORE_OUTPUT_2 and IGNORE_OUTPUT_3--an unfortunately blunt-force tool get some of the table tests 'passing' on Python 3, but easier than any other option.

1710943acd9456da4f32caf982788ea623766f9d authored about 9 years ago by Erik M. Bray <[email protected]>
Added new IGNORE_OUTPUT flags for doctests. This is useful in cases where we want the doctest to *run* (maybe later doctests on the same page depend on this code running), but we don't care *exactly* what the output is (maybe the output differs slightly between platforms, but in ways we aren't concerned about testing)

8eab848c07637bbc11573ab6ef8a118a41fa1e88 authored about 9 years ago by Erik M. Bray <[email protected]>
This actually fully enables running the doctests on Python 3

b10f32f3ff380a207e49fe5598b3452625580abd authored about 9 years ago by Erik M. Bray <[email protected]>
Slight improvements to the +FLOAT_CMP implementation, including using np.allclose for the numeric comparison (this change has been on the backburner for a while)

46c658f235703eee18e9208122a727dc3b80ed42 authored about 9 years ago by Erik M. Bray <[email protected]>
Use string in skipif() for pytest 2.3 compatiblity

ba3361dc1e561383db6672b8b9bf032091d3b6fc authored about 9 years ago by Orion Poplawski <[email protected]>
Import TestRunner into astropy.tests.helper for backward-compatibility

ee290293997f3e10acb029f2fd014a0b108ab964 authored about 9 years ago by Thomas Robitaille <[email protected]>
Merge pull request #4020 from embray/testing/test-runner-refactor

Testing/test runner refactor

c3c7c99c6e87ffcfc83cfa8f8b90c9c54a0c2e8d authored about 9 years ago by Erik Bray <[email protected]>
Merge pull request #4200 from bsipocz/test_add_date_to_header

Adding date to test header

b070c1d5d1df4173b40e9154dfca39c967f67391 authored about 9 years ago by Erik Bray <[email protected]>
Incorporate the changes from https://github.com/astropy/astropy-helpers/pull/188 and https://github.com/astropy/astropy-helpers/pull/194 into astropy's copy of the AstropyTest command.

42a2bec293f6fee52330c00d5e70bfa8313492ff authored about 9 years ago by Erik M. Bray <[email protected]>
Fixed indentation

b8c84ca6df51955ed88c4fda50d1bc7e54e43b1a authored about 9 years ago by Erik M. Bray <[email protected]>
Updated astropy-helpers again to the latest master, incorporating several previous fixes from other PRs. Also updated astropy.tests.command to incorporate the changes from astropy/astropy-helpers#190

afc4cd470ea31841f71823a2650a63dad790dd97 authored about 9 years ago by Erik M. Bray <[email protected]>
Fix for Python 2--functions don't have an __annotations__ attribute (and in any case the function we're wrapping doesn't *have* any annotations in the first place).

26ae95da3ee679e6977d565babd5130f1d39cb68 authored about 9 years ago by Erik M. Bray <[email protected]>
Some refactoring of astropy.tests and astropy.__init__. A few things

going on here:

1) The TestRunner class has been moved out of astropy.tests.helper
into its own m...

36ae6c1027c7e8b6d42ab6d35e0206a458095530 authored about 9 years ago by Erik M. Bray <[email protected]>
Strip rootdir from path entries in 'Running tests in...' line of pytest report

f21ef00ba58d2d5d5fa1a45d2180d706d569147b authored about 9 years ago by Erik M. Bray <[email protected]>
Update to astropy_helpers that should fix #4164 on OSX. The change to the test runner to make sure its base path is always the absolute path improves consistency of behavior between Python 2 and Python 3, where __path__ is a relative path in the former, and an absolute path in the latter.

72b7ca43ed4da3d3e7c54bfa982f0ffae82f423a authored about 9 years ago by Erik M. Bray <[email protected]>
Adding date to test header

48a8f0858dad1d26bfeec13cfbd0bbc2983c82a4 authored about 9 years ago by Brigitta Sipocz <[email protected]>
Adapt tests helper to Coverage 4.0 (ref #4175).

635aa8af6d5f941984f76fcb3b2d6744a17f0115 authored over 9 years ago by Simon Conseil <[email protected]>
Fix broken link to pytest.raises

8463de7440b3fe487653bf8a0097455f49ab2485 authored over 9 years ago by Michael Droettboom <[email protected]>
Disable a logger test on Python 3.5

dc86b27e0d5a338ac242759dd47e06d9dae288c7 authored over 9 years ago by Michael Droettboom <[email protected]>
Ignore DeprecationWarning in py.test

d698cc943c20416008914b3cca84d5b9facc8565 authored over 9 years ago by Michael Droettboom <[email protected]>
Register the remote_data marker

This is now required in py.test 2.7.3

267e9dd60fa48551dfc821f3b2def0d20043b746 authored over 9 years ago by Michael Droettboom <[email protected]>
Update for Python 3.5

8a7beddfc4160aa206c9798877456c44040fb0b0 authored over 9 years ago by Michael Droettboom <[email protected]>
Remove erfa_generator.py from average analysis

857231cb2a9e58ea82ec4233f6ff64cf82a6e221 authored over 9 years ago by Julien Woillez <[email protected]>
Fixed a bug in resolve_name where if you pass fromlist=[''] in when importing a top-level module (like 'numpy') things could go seriously awry with the import system (this itself is a bug in Python 2).

d0562f7fb6eaa0753e0c8c7512fc8d06d8d29196 authored over 9 years ago by Erik M. Bray <[email protected]>
Add link in test and a changelog entry [skip ci]

1a187603d77cd9649f1588b5db98d339fda66716 authored over 9 years ago by Erik M. Bray <[email protected]>
Fixes long-standing bug in exception hook on Python 3 (use of 'unicode' builtin in the narrow case of message-less exceptions)

f95f4bcbd1dfacdb70aa0b4cfa543ae3604afea8 authored over 9 years ago by Erik M. Bray <[email protected]>
Add the ability to set custom locations for the astropy config and cache dirs used when running tests. Any use of set_config/cache_dir for individual tests will still override this, but this also allows setting a custom cache location for all test runs.

b927e17547503014a11a245a5611128fac89fe5d authored over 9 years ago by Erik M. Bray <[email protected]>
Add combination decorator / context managers that can be used to temporarily set the locations of the Astropy configuration and cache directories, as well as restore them to their default (user-specific) locations.

070cd96f4f277c45cb809877a0b7a1b7a84f9968 authored over 9 years ago by Erik M. Bray <[email protected]>
Add a new config option for py.test to ignore certain files when testing with the --open-files option

5231a7ca23dd3728d1b1292a8aa01e0da0121f9b authored over 9 years ago by Erik M. Bray <[email protected]>
Make astropy.tests.helper part of the public API

4312e6df63256d60c8db636a364372d653e1ecc1 authored over 9 years ago by Erik Tollerud <[email protected]>