Skip to content

Commit

Permalink
remove redundant catching of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 committed Jun 21, 2024
1 parent 01aed31 commit 4486d4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/test/test_asyncio/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,7 @@ def setUp(self):

watcher = self._get_watcher()
watcher.attach_loop(self.loop)
with warnings.catch_warnings():
policy._watcher = watcher
policy._watcher = watcher

def tearDown(self):
super().tearDown()
Expand Down

0 comments on commit 4486d4f

Please sign in to comment.