提交 99fbef6e authored 作者: Thomas Wiecki's avatar Thomas Wiecki 提交者: Brandon T. Willard

Remove MKL warning.

上级 0f9f93c8
......@@ -2738,9 +2738,8 @@ def default_blas_ldflags():
# numpy and scipy.
try:
import mkl # noqa
except ImportError as e:
if any([m for m in ("conda", "Continuum") if m in sys.version]):
warn_record.append(f"install mkl with `conda install mkl-service`: {e}")
except ImportError:
pass
else:
# This branch is executed if no exception was raised
if sys.platform == "win32":
......
......@@ -90,4 +90,4 @@ def test_default_blas_ldflags(sys_mock, try_blas_flag_mock, caplog):
with caplog.at_level(logging.WARNING):
default_blas_ldflags()
assert "install mkl with" in caplog.text
assert caplog.text == ""
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论