Skip to content

running doctest failes #416

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

Open
d-chris opened this issue Mar 18, 2025 · 0 comments · May be fixed by #417
Open

running doctest failes #416

d-chris opened this issue Mar 18, 2025 · 0 comments · May be fixed by #417

Comments

@d-chris
Copy link

d-chris commented Mar 18, 2025

running pytest --doctest-modules shows that the code snippets within the docstrings are wrong.

_______________________ [doctest] validators.uuid.uuid ________________________
014 Return whether or not given value is a valid UUID-v4 string.
015 
016 This validator is based on [WTForms UUID validator][1].
017 
018 [1]: https://github.com/wtforms/wtforms/blob/master/src/wtforms/validators.py#L539
019 
020 Examples:
021     >>> uuid('2bc1c94f-0deb-43e9-92a1-4775189ec9f8')
Expected:
    # Output: True
Got:
    True
d-chris added a commit to d-chris/validators that referenced this issue Mar 18, 2025
@d-chris d-chris linked a pull request Mar 18, 2025 that will close this issue
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