Skip to content

Change docs to use hookwraper instead of __multicall__ #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 9, 2015

Conversation

nicoddemus
Copy link
Member

Fixes #929

@nicoddemus nicoddemus added the type: docs documentation improvement, missing or needing clarification label Aug 8, 2015
@The-Compiler
Copy link
Member

Can someone else review this please? I'm not very familiar with hookwrapper. 😉


# we only look at actual failing test calls, not setup/teardown
if rep.when == "call" and rep.failed:
mode = "a" if os.path.exists("failures") else "w"
with open("failures", mode) as f:
# let's also access a fixture for the fun of it
if "tmpdir" in item.funcargs:
if "tmpdir" in item.fixturenames:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im under the impression we want a naming cleanup for pytest 3.x - funcargs is an inaccurate container name now ^^

RonnyPfannschmidt added a commit that referenced this pull request Aug 9, 2015
Change docs to use hookwraper instead of __multicall__
@RonnyPfannschmidt RonnyPfannschmidt merged commit 1c68021 into pytest-dev:master Aug 9, 2015
@nicoddemus nicoddemus deleted the docs-hookwrapper branch August 25, 2015 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs documentation improvement, missing or needing clarification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants