Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phone number patterns for de_CH and it_CH are missing. #2148

Open
flo-ri-an opened this issue Jan 3, 2025 · 0 comments · May be fixed by #2147
Open

Phone number patterns for de_CH and it_CH are missing. #2148

flo-ri-an opened this issue Jan 3, 2025 · 0 comments · May be fixed by #2147

Comments

@flo-ri-an
Copy link

  • Faker version: 1.0.8
  • OS: linux

Phone number patterns are available for fr_CH, but missing for de_CH and it_CH.

Steps to reproduce

  1. fake = Faker("de_CH")
  2. fake.phone_number()
  3. fake = Faker("it_CH")

Expected behavior

Upon instantiatioin of Faker with the respective locale, phone numbers that conform to CH patterns should be generated.

Actual behavior

  • For de_CH, numbers are generated, but they are not CH numbers.
  • For it_CH, Faker fails with AttributeError: Invalid configuration for faker locale it_CH``
@flo-ri-an flo-ri-an linked a pull request Jan 3, 2025 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant