diff --git a/descarteslabs/core/catalog/tests/test_product.py b/descarteslabs/core/catalog/tests/test_product.py index d351d8a2..f223d3f5 100644 --- a/descarteslabs/core/catalog/tests/test_product.py +++ b/descarteslabs/core/catalog/tests/test_product.py @@ -588,6 +588,7 @@ def test_warnings(self): ) with warnings.catch_warnings(record=True) as w: + warnings.simplefilter("ignore", category=DeprecationWarning) warnings.simplefilter("always") Product.get("product_id", client=self.client) @@ -646,6 +647,7 @@ def test_bad_warnings(self): ) with warnings.catch_warnings(record=True) as w: + warnings.simplefilter("ignore", category=DeprecationWarning) warnings.simplefilter("always") p = Product.get("product_id", client=self.client) assert isinstance(p, Product)