Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_nothing_to_render_raises_warning fails on Sphinx v8.1 #491

Closed
cclauss opened this issue Oct 12, 2024 · 0 comments
Closed

test_nothing_to_render_raises_warning fails on Sphinx v8.1 #491

cclauss opened this issue Oct 12, 2024 · 0 comments

Comments

@cclauss
Copy link
Contributor

cclauss commented Oct 12, 2024

Related to #490 --> sphinx>=6.1.0,<8.1.0

https://github.com/sphinx-doc/sphinx/releases

=================================== FAILURES ===================================
____________________ test_nothing_to_render_raises_warning _____________________

builder = <function builder..build at 0x10bbdce00>

  def test_nothing_to_render_raises_warning(builder):
  with pytest.raises(sphinx.errors.SphinxWarning) as exc_info:

E Failed: DID NOT RAISE <class 'sphinx.errors.SphinxWarning'>

/Users/runner/work/sphinx-autoapi/sphinx-autoapi/tests/python/test_pyintegration.py:1309: Failed

def test_nothing_to_render_raises_warning(builder):
with pytest.raises(sphinx.errors.SphinxWarning) as exc_info:
builder("pynorender", warningiserror=True)
assert "No modules were rendered" in str(exc_info.value)

@AA-Turner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant