Skip to content

running doctest failes #416

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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