add some pragma no cover for the compat module