def test_bad_country_code_representation(self, faker, num_samples):
    for _ in range(num_samples):
        with pytest.raises(ValueError):
            faker.country_code(representation='hello')
def test_bad_country_code_representation(self, faker, num_samples):
    for _ in range(num_samples):
        with pytest.raises(ValueError):
            faker.country_code(representation='hello')