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

Closed
d-chris opened this issue Mar 18, 2025 · 2 comments · Fixed by #417
Closed

running doctest failes #416

d-chris opened this issue Mar 18, 2025 · 2 comments · Fixed by #417

Comments

@d-chris
Copy link
Contributor

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
yozachar pushed a commit to d-chris/validators that referenced this issue Apr 26, 2025
@d-chris
Copy link
Contributor Author

d-chris commented May 11, 2025

@yozachar thx for the release 0.35.0 now my PyPI - Version

documentation looks good regarding doctest

@yozachar
Copy link
Collaborator

Nice!

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