From aec25c7299452f665f2f508603cae46a13aed15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20K=C3=B6lling?= Date: Mon, 14 Sep 2020 12:26:03 +0200 Subject: [PATCH] fix autodiscover test With https://github.com/intake/intake/pull/526, `autodiscover` can not be imported directly from the intake module anymore. --- intake_xarray/tests/test_discovery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intake_xarray/tests/test_discovery.py b/intake_xarray/tests/test_discovery.py index 0cb0bd6..9063a84 100644 --- a/intake_xarray/tests/test_discovery.py +++ b/intake_xarray/tests/test_discovery.py @@ -1,10 +1,10 @@ -import intake +import intake.source.discovery import pytest def test_discovery(): with pytest.warns(None) as record: - registry = intake.autodiscover() + registry = intake.source.discovery.autodiscover() # For awhile we expect a PendingDeprecationWarning due to # do_pacakge_scan=True. But we should *not* get a FutureWarning. for record in record.list: