def _get_role_policy(self, arn):
        pol_det = self._iam_client.get_policy(PolicyArn=arn)
        policy_version_details = self._iam_client.get_policy_version(
            PolicyArn=arn, VersionId=pol_det["Policy"]["DefaultVersionId"])
        return policy_version_details["PolicyVersion"]["Document"]
Test PackageFinder detects latest using wrong case
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/datapipeline/createdefaultroles.py/CreateDefaultRoles._get_role_policy--crossover with--dataset/ETHPy150Open pypa/pip/tests/unit/test_finder.py/test_incorrect_case_file_index