From 14f120ebfe8804c7d01ef43c1fcc8194ea491dda Mon Sep 17 00:00:00 2001 From: "Stephen C. Pope" Date: Tue, 8 Oct 2024 12:38:46 -0600 Subject: [PATCH] Update test_product.py --- descarteslabs/core/catalog/tests/test_product.py | 2 ++ 1 file changed, 2 insertions(+) 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)