mirror of
https://github.com/python/cpython.git
synced 2024-12-13 03:45:42 +08:00
gh-106162: fix test_array modifies warning filter (#106181)
This commit is contained in:
parent
541a10f9ed
commit
a3dd8cce58
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user