diff options
author | Inada Naoki <songofacandy@gmail.com> | 2023-06-28 07:50:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 07:50:36 (GMT) |
commit | a3dd8cce58fe2b27eea4eed572d086dc8a7e1bb8 (patch) | |
tree | c931e37d7d08d47ff9cf2dcc25d338b77f4ccbd0 /Lib | |
parent | 541a10f9ed193a79aeea5e244bca6f6485d0689f (diff) | |
download | cpython-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-x | Lib/test/test_array.py | 1 |
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 " |