Skip to content

Support for test methods #5

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

Closed
nicoddemus opened this issue May 1, 2015 · 0 comments · Fixed by #6
Closed

Support for test methods #5

nicoddemus opened this issue May 1, 2015 · 0 comments · Fixed by #6
Assignees

Comments

@nicoddemus
Copy link
Member

Currently asyncio doesn't support test methods (see #4):

class Test:
    @pytest.mark.asyncio
    def test_some_asyncio_code(self):
        res = yield from library.do_something()
        assert b'expected result' == res
nicoddemus added a commit that referenced this issue May 1, 2015
- Inspired on the default implementation for pytest_pyfunc_call for normal test functions
- Refactor pytest_pyfunc_call to remove duplication

fixes #5
nicoddemus added a commit that referenced this issue May 1, 2015
- Inspired on the default implementation for pytest_pyfunc_call for normal test functions
- Refactor pytest_pyfunc_call to remove duplication

fixes #5
@Tinche Tinche closed this as completed in #6 May 1, 2015
seifertm pushed a commit that referenced this issue Jul 12, 2023
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 a pull request may close this issue.

2 participants