Ilya Kulakov

Results 232 comments of Ilya Kulakov

May I ask you for an example test case that you would like to make it work to better address this question?

Overriding [`_get_child_mock`]( https://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock._get_child_mock) seems like the right approach. Ignore the fact that it starts with `_`, it's part of the public interface: ```python from asynctest import Mock, CoroutineMock class AsyncMock(Mock):...

I'm using the py.test runner, yet to try this approach.

Makes sense. But we should do our best to make it work without specifying the loop.

@Martiusweb I'm using codecov.io, here is an example: https://github.com/Kentzo/Power/pull/25. Never used coveralls.io, don't know which one is better. I do not like unittest's runner, but sure, we can run it...

A mixin could inherit from a base class whose setUp / tearDown would check whether the result of a super call is awaitable.

The idea is to break dependency between generic core and utility functions that depend on specific Python. Version on codetransforms is currently broken for Python 3.6 because of them. Also...

Are there precautions against further opcode changes? It would be unfortunate to end up with incompatible package because of this.

Given what this package tries to accomplish it's indeed impossible to give any promises since CPython does not give them in the first place. However, certain parts of CPython were...