Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
__init__.py
monkeypatch.py
mymodule.py

README.md

Demo monkeypatch

# Magic happened after with!
>>> import mymodule
>>> mymodule.Hello()
Hello, Jacky!
>>> import monkeypatch
>>> with monkeypatch.monkeypatch():
...     mymodule.Hello()
...
Hello, Monkey!