--- a/src/eric7/DebugClients/Python/coverage/parser.py Wed Jul 20 16:03:55 2022 +0200 +++ b/src/eric7/DebugClients/Python/coverage/parser.py Wed Jul 20 16:13:29 2022 +0200 @@ -377,7 +377,7 @@ """ if hasattr(self.code, "co_lines"): for _, _, line in self.code.co_lines(): - if line is not None: + if line: yield line else: # Adapted from dis.py in the standard library.