Skip to content

Provide fakesleep_context contextmanager. - #1

Open
stuaxo wants to merge 3 commits into
wearpants:masterfrom
stuaxo:patch-2
Open

Provide fakesleep_context contextmanager.#1
stuaxo wants to merge 3 commits into
wearpants:masterfrom
stuaxo:patch-2

Conversation

@stuaxo

@stuaxo stuaxo commented Feb 13, 2020

Copy link
Copy Markdown

Provide a small context manager to automatically call monkeypatch_restore.

@stuaxo

stuaxo commented Feb 20, 2020

Copy link
Copy Markdown
Author

Maybe this should really be spelled fakesleep ?

@PeteFein

Copy link
Copy Markdown

Seems fine, and I like the name as is (I could see an @fakesleep decorator that does the same for function scope)

Please add a note or the README and a docstring and I think we're good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants