mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
gh-106162: fix test_array modifies warning filter (#106181)
This commit is contained in:
parent
541a10f9ed
commit
a3dd8cce58
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@ def test_empty(self):
|
|||
class ArrayReconstructorTest(unittest.TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.enterContext(warnings.catch_warnings())
|
||||
warnings.filterwarnings(
|
||||
"ignore",
|
||||
message="The 'u' type code is deprecated and "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue