Commit 56f48a81 authored by Martín Ferrari's avatar Martín Ferrari

Mark codepath to be ignored by coverage.

parent b11ffdcb
...@@ -195,7 +195,8 @@ def _start_child(nonetns): ...@@ -195,7 +195,8 @@ def _start_child(nonetns):
return (s0, pid) return (s0, pid)
# FIXME: clean up signal handers, atexit functions, etc. # FIXME: clean up signal handers, atexit functions, etc.
try: try: # pragma: no cover
# coverage doesn't seem to understand fork
s0.close() s0.close()
srv = nemu.protocol.Server(s1, s1) srv = nemu.protocol.Server(s1, s1)
if not nonetns: if not nonetns:
...@@ -218,7 +219,7 @@ def _start_child(nonetns): ...@@ -218,7 +219,7 @@ def _start_child(nonetns):
pass pass
os._exit(1) os._exit(1)
os._exit(0) os._exit(0) # pragma: no cover
# NOTREACHED # NOTREACHED
get_nodes = Node.get_nodes get_nodes = Node.get_nodes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment