Skip to content

Use testsetup for module bootstrap #20

@kataev

Description

@kataev
.. testsetup:: *

    from collections import *
    import itertools
    __name__ = '<doctest>'

LIke here https://github.com/python/cpython/blob/master/Doc/library/collections.rst#id3

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