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

es_ES doi() inconsistent with definition #2161

Open
VirenSDD opened this issue Jan 30, 2025 · 1 comment · May be fixed by #2162
Open

es_ES doi() inconsistent with definition #2161

VirenSDD opened this issue Jan 30, 2025 · 1 comment · May be fixed by #2162

Comments

@VirenSDD
Copy link

VirenSDD commented Jan 30, 2025

When creating an instance of faker with locale="es_ES", the doi() method returns a random Spanish CIF or NIE or NIF, which has nothing to do with the DOI.

Example:

>>> from faker import Faker
>>> faker_instance = Faker(locale="es_ES")
>>> faker_instance.doi()
'Y7569754P'

Using version 35.0.0

@fcurella
Copy link
Collaborator

Thank you for the report!

Do you have time to prepare a Pull Request?

@jasur-py jasur-py linked a pull request Feb 3, 2025 that will close this issue
8 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.

2 participants