(self, jan, *args, **kwargs)
| 151 | valid_country_codes = list(range(450, 460)) + list(range(490, 500)) |
| 152 | |
| 153 | def __init__(self, jan, *args, **kwargs) -> None: |
| 154 | if int(jan[:3]) not in self.valid_country_codes: |
| 155 | raise WrongCountryCodeError( |
| 156 | "Country code isn't between 450-460 or 490-500." |
| 157 | ) |
| 158 | super().__init__(jan, *args, **kwargs) |
| 159 | |
| 160 | |
| 161 | class EuropeanArticleNumber8(EuropeanArticleNumber13): |
no test coverage detected