Skip to content

running doctest failes #416

Closed
Closed
@d-chris

Description

@d-chris

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions