From d71c6f525384d239e538aa9f1b5407b551970069 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Sun, 5 Dec 2021 17:40:15 -0800 Subject: [PATCH 1/2] CI: Filtered any SSLSocket ResouceWarnings from dependencies --- pandas/_testing/_warnings.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py index f66614bd02a3f..53a2057fc59b5 100644 --- a/pandas/_testing/_warnings.py +++ b/pandas/_testing/_warnings.py @@ -147,9 +147,15 @@ def _assert_caught_no_extra_warnings( for actual_warning in caught_warnings: if _is_unexpected_warning(actual_warning, expected_warning): - unclosed = "unclosed transport Date: Mon, 6 Dec 2021 09:31:25 -0800 Subject: [PATCH 2/2] Fix message check --- pandas/_testing/_warnings.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandas/_testing/_warnings.py b/pandas/_testing/_warnings.py index 53a2057fc59b5..016d958c973a7 100644 --- a/pandas/_testing/_warnings.py +++ b/pandas/_testing/_warnings.py @@ -153,9 +153,8 @@ def _assert_caught_no_extra_warnings( "unclosed transport