Raise ghostscript deprecation warning and skip ghostscript tests on windows
This commit is contained in:
@@ -141,6 +141,12 @@ class Lattice(BaseParser):
|
||||
|
||||
if isinstance(backend, str):
|
||||
if backend in BACKENDS.keys():
|
||||
if backend == "ghostscript":
|
||||
raise DeprecationWarning(
|
||||
"'ghostscript' will be replaced by 'poppler' as the default image conversion"
|
||||
" backend in v0.12.0. You can try out 'poppler' with backend='poppler'."
|
||||
)
|
||||
|
||||
return BACKENDS[backend]()
|
||||
else:
|
||||
raise NotImplementedError(
|
||||
|
||||
Reference in New Issue
Block a user