mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
add extension blacklist to avoid error when loading deprecated extensions
This commit is contained in:
@@ -70,6 +70,12 @@ def test_extensions(app, status, warning):
|
||||
assert warning.getvalue().startswith("WARNING: extension 'shutil'")
|
||||
|
||||
|
||||
@with_app()
|
||||
def test_extension_in_blacklist(app, status, warning):
|
||||
app.setup_extension('sphinxjp.themecore')
|
||||
assert warning.getvalue().startswith("WARNING: the extension 'sphinxjp.themecore' was")
|
||||
|
||||
|
||||
@with_app()
|
||||
def test_domain_override(app, status, warning):
|
||||
class A(Domain):
|
||||
|
||||
Reference in New Issue
Block a user