[issue37100] test_coroutine.test_unawaited_warning_when_module_broken fails on -Werror

Karthikeyan Singaravelan report at bugs.python.org
Thu May 30 09:13:33 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

The coroutine is not awaited in the test and generates a RuntimeWarning. Since I used -Werror I guess the warning was converted to an error and thus replacing ZeroDivisionError in the support.catch_unraisable_exception context manager.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37100>
_______________________________________


More information about the Python-bugs-list mailing list