def METHOD_NAME(self):
    with self.assertRaises(subprocess.CalledProcessError):
        command = [
            f"{str(sys.executable)}",
            f"{str(self.script_location)}",
            "--directory",
            f"{str(self.directory)}",
            "--expression",
            self.expression,
        ]
        subprocess.check_call(
            command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, stdin=subprocess.PIPE, cwd=self.working_dir
        )