Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels