Skip to content

Commit

Permalink
pythongh-106162: fix test_array modifies farning filter
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jun 28, 2023
1 parent 541a10f commit 6640bce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 6640bce

Please sign in to comment.