Skip to content

patch context manager should return patched dingus #9

@garybernhardt

Description

@garybernhardt
Here, d should be the patching dingus:

>>> with dingus.patch('__builtin__.file') as d:
...     print d
... 
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions