FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

running `doctest` failes · Issue #416 · python-validators/validators · GitHub

Repository navigation

running doctest failes #416

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

Activity

  1. added a commit that references this issue on Mar 18, 2025
    6627a75
  2. added a commit that references this issue on Apr 26, 2025
    3ef9d55
  3. added a commit that references this issue on Apr 26, 2025
    b2510d1
  4. d-chris commented on May 11, 2025

    ContributorAuthor

    @yozachar thx for the release 0.35.0 now my

    documentation looks good regarding doctest

  5. nandgator commented on May 12, 2025

    Collaborator

    Nice!

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


      Back | FazBrowse Home | New Git URL