Skip to content

Commit

Permalink
removed unneeded try-except
Browse files Browse the repository at this point in the history
  • Loading branch information
pan324 committed Oct 19, 2023
1 parent e5fe674 commit 66acf90
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Lib/test/_test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -4460,10 +4460,7 @@ def test_shared_memory_untracking(self):
self.assertEqual(err, b'')
finally:
mem.close()
try:
mem.unlink()
except OSError:
pass
mem.unlink()

#
# Test to verify that `Finalize` works.
Expand Down

0 comments on commit 66acf90

Please sign in to comment.