Dima Tisnek
Dima Tisnek
@mcorb ~5 years ago I dealt with exact same problem, where user-mode code used sqlite. Ultimately, it turned out that no production ready (reliable) file-systems were good enough, as sqlite...
It's relatively easy to silence "never awaited" warnings: just add a dummy callback. The tricky part is to understand why it was never awaited in the first place!
@nekokatt please publish a wip PR and maybe someone else will poke at it?
That's a good question :) If I remember correctly, py3.8 `AsyncMock` doesn't have all the features of the `asynctest`... , Specifically, I suspect that py3.8 can't do `asynctest.mock.patch("...", autospec=True)`. Then...
@Kentzo would be nice state explicitly what "our cause" is :)
Re: > users should be able to replace all references of “unittest” with “asynctest” I, for one, mix and match `unittest.mock` and `asynctest`. A whole bunch of unit tests run...
+1 on > deprecate asynctest.CoroutineMock
Re: `AsyncTestCase` I’m squarely in the rosy `pytest` world, so no opinion here ;) Perhaps core devs may be Interested in better way to write tests like e.g. https://github.com/python/cpython/blob/master/Lib/test/test_asyncio/test_futures.py
I, personally, would rather see `pytest` examples instead of `unittest`. At the same time, I'd gladly see `pytest` examples in addition to `unittest` when the alternative is only `unittest` :)...
@sdispater poke