summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2023-06-28 07:50:36 (GMT)
committerGitHub <noreply@github.com>2023-06-28 07:50:36 (GMT)
commita3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8 (patch)
treec931e37d7d08d47ff9cf2dcc25d338b77f4ccbd0 /Lib
parent541a10f9ed193a79aeea5e244bca6f6485d0689f (diff)
downloadcpython-a3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8.zip
cpython-a3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8.tar.gz
cpython-a3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8.tar.bz2
gh-106162: fix test_array modifies warning filter (#106181)
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/test_array.py1
1 files changed, 1 insertions, 0 deletions
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 "