Neil Chazin - Strategies for testing Async code - PyCon 2019

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 2

  • @weixiong4280
    @weixiong4280 3 года назад +1

    the 'patch' function in 'unittest' can be used to replace coroutine function now(my python version is 3.8).

  • @RoamingAdhocrat
    @RoamingAdhocrat 3 года назад +2

    "what? how are you going to introduce async/await to new players AND describe how to test it in only 22min?"
    turns out the answer is "pip install pytest-asyncio" ;)