Commit c246808d authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Add missing statements back into coverage report

`coverage` updates appear to have changed the reporting defaults. This
commit changes the reporting code to explicitly request missing
statements in the report.
parent 3762dbf3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -106,7 +106,8 @@ def coverage_report(modules, include=None, exclude=None, file=None):
		with file or io.open(sys.stdout.fileno(), mode, closefd=False) as file:
			if file.isatty():
				file.write("\nCoverage Report:\n================\n")
			cover.report(list(modules), include=include, omit=exclude, file=file)
			cover.report(list(modules), include=include, omit=exclude,
					file=file, show_missing=True)

		sys.modules.clear()
		sys.modules.update(old_modules)