From a3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Wed, 28 Jun 2023 16:50:36 +0900 Subject: gh-106162: fix test_array modifies warning filter (#106181) --- Lib/test/test_array.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_array.py b/Lib/test/test_array.py index f6bf9e6..bec3766 100755 --- a/Lib/test/test_array.py +++ b/Lib/test/test_array.py @@ -100,6 +100,7 @@ UTF32_BE = 21 class ArrayReconstructorTest(unittest.TestCase): def setUp(self): + self.enterContext(warnings.catch_warnings()) warnings.filterwarnings( "ignore", message="The 'u' type code is deprecated and " -- cgit v0.12