mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Skip testing for websupport if sqlalchemy not installed
This commit is contained in:
parent
402e0bc706
commit
2817623500
@ -12,6 +12,7 @@
|
|||||||
from sphinx.websupport import WebSupport
|
from sphinx.websupport import WebSupport
|
||||||
try:
|
try:
|
||||||
sqlalchemy_missing = False
|
sqlalchemy_missing = False
|
||||||
|
import sqlalchemy # NOQA
|
||||||
except ImportError:
|
except ImportError:
|
||||||
sqlalchemy_missing = True
|
sqlalchemy_missing = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user