Skip to content

Add doctest.testmod to every file for easier testing #7259

@CaedenPH

Description

@CaedenPH

Feature description

Add this below to every file for easier file testing.

if __name__ == "__main__":
    import doctest

    doctest.testmod()

There is already a workflow to automatically check for doctests, however this provides better accessibility when testing specific files.
This issue is questionable so I'm open to conversation

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions