[issue39101] IsolatedAsyncioTestCase freezes when exception is raised

2019-12-19 Thread Fabio Pugliese Ornellas
Change by Fabio Pugliese Ornellas : -- type: -> crash ___ Python tracker <https://bugs.python.org/issue39101> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue39101] IsolatedAsyncioTestCase freezes when exception is raised

2019-12-19 Thread Fabio Pugliese Ornellas
New submission from Fabio Pugliese Ornellas : IsolatedAsyncioTestCase freezes whenever an exception that inherits from BaseException is raised: import unittest class TestHangsForever(unittest.IsolatedAsyncioTestCase): async def test_hangs_forever(self): raise BaseException("

[issue38225] iscoroutinefunction broken with cython - allow tagging of functions as async?

2019-12-10 Thread Fabio Pugliese Ornellas
Fabio Pugliese Ornellas added the comment: It is worth noting that test frameworks can greatly benefit from iscoroutinefunction to work. I'm the main author of TestSlide, which provides more strict mocking for Python. I recently added async support, so we can detect bugs su