question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rst files are no longer tested

See original GitHub issue

The current version of the testing setup does no longer test any of the code in the doc/ folder, and thus the code in the documentation could be out-of-date and we did not know. I noticed this for an affiliated package and originally opened it as an issue for sphinx-doctestplus at https://github.com/astropy/pytest-doctestplus/issues/24 but at this time it’s not clear if it needs to be resolved in astropy itself, astropy-helpers, sphinx-doctestplux, travis-ci or upsteam in pytest. In any case, it seems that pytest 3.5.x works in full, pytest 3.6.x runs the tests, and I don’t know what would happen on pytest 3.7 because that has another bug causing infinite recursion in the test detection. Thus travis-ci currently freezes the pytest version to 3.6.

This probably effects all packages that use the astropy test infrastructure (I checked astropy, photutils and marxs), but I won’t open separate issues for each an every infrastructure package and each and every affiliated package. This issue and the link to https://github.com/astropy/pytest-doctestplus/issues/24 with more details will have to suffice.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

2reactions
hamogucommented, Aug 23, 2018

@drdavella Yes, that’s it. Thanks, all done!

1reaction
bsipoczcommented, Aug 23, 2018

Fix is there in #7767, no need to wait for the full CI to pass.

Read more comments on GitHub >

github_iconTop Results From Across the Web

reStructuredText Test Document - Docutils
A test document, containing at least one example of each reStructuredText construct. ... -b file, options can have arguments and long descriptions.
Read more >
How to ensure that README.rst is valid? - Stack Overflow
I ran the file against multiple validators, and tested it against other renders. It worked perfectly fine everywhere else! So, after a long, ......
Read more >
Page rendering hangs and errors when rst (aka rest ... - GitLab
Summary When a rst file gets too long, gitlab fails to render it, the page hangs and eventually errors out.
Read more >
Sphinx and RST syntax guide (0.9.3) - Thomas-Cokelaer.info
This page describes some of the RST and Sphinx syntax. It is based on resource found at Sphinx , Docutils and more generally...
Read more >
test.rst - gists · GitHub
It has been tested on the following configuration: MacOS X 10.7.5; Python 2.7.4. Requirements. prometheus requires the following in order to run properly ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found