Skip to content

Commit fcd1ada

Browse files
committed
Remove suppression of PermissionError, that shouldn't occur anymore
1 parent 831e3c6 commit fcd1ada

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Lib/test/test_peg_generator/test_c_parser.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import contextlib
21
import textwrap
32
import unittest
43
from distutils.tests.support import TempdirManager
@@ -70,8 +69,7 @@ def setUp(self):
7069
self.addCleanup(change_cwd.__exit__, None, None, None)
7170

7271
def tearDown(self):
73-
with contextlib.suppress(PermissionError):
74-
super(TestCParser, self).tearDown()
72+
super(TestCParser, self).tearDown()
7573

7674
def build_extension(self, grammar_source):
7775
grammar = parse_string(grammar_source, GrammarParser)

0 commit comments

Comments
 (0)