Skip to content

Commit db09c95

Browse files
examples: remove unnecessary suppression
1 parent 9555063 commit db09c95

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

tests/runner.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
KnuthBendix, etc.
99
"""
1010

11-
import contextlib
1211
from datetime import timedelta
1312

1413
from libsemigroups_pybind11 import ReportGuard
@@ -37,13 +36,7 @@ def check_runner(x, t=timedelta(microseconds=1000)): # pylint: disable=missing-
3736
assert not x.stopped_by_predicate()
3837
assert x.timed_out()
3938

40-
# TODO: Why was This was originally:
41-
# try:
42-
# x = x.copy() # copy
43-
# except: # noqa: E722 pylint: disable=bare-except
44-
# pass
45-
with contextlib.suppress(BaseException):
46-
x = x.copy() # copy
39+
x = x.copy() # copy
4740

4841
def func():
4942
global N # pylint: disable=global-statement

0 commit comments

Comments
 (0)