Skip to content

Commit 6273b1e

Browse files
committed
pragma: no cover lines erroneously considered not coverred
1 parent ef3e52f commit 6273b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

trio/_core/tests/tutil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ def disable_threading_excepthook():
107107
else:
108108

109109
@contextmanager
110-
def restore_unraisablehook():
110+
def restore_unraisablehook(): # pragma: no cover
111111
yield
112112

113113
@contextmanager
114-
def disable_threading_excepthook():
114+
def disable_threading_excepthook(): # pragma: no cover
115115
yield
116116

117117

0 commit comments

Comments
 (0)