--- a/eric7/DebugClients/Python/coverage/jsonreport.py Tue May 24 10:22:46 2022 +0200 +++ b/eric7/DebugClients/Python/coverage/jsonreport.py Tue May 24 11:00:52 2022 +0200 @@ -70,7 +70,7 @@ json.dump( self.report_data, outfile, - indent=4 if self.config.json_pretty_print else None + indent=(4 if self.config.json_pretty_print else None), ) return self.total.n_statements and self.total.pc_covered