﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31407	RuntimeWarning when running AsyncHandlerRequestTests.test_unawaited_response.	Deep Sukhwani	Carlton Gibson	"**Steps to reproduce:**
- Use a Python virtualenv with Python 3.7.7 / Python 3.8.2
- Install requirements - from Django root with latest master (of the the date of this issue): `cd tests && pip install -r requirements/py3.txt`
- Run tests `export DJANGO_TEST_PROCESSES=1; export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES; ./runtests.py`
- This is reproducible in django-docker-box using Python 3.7 and Python 3.8, verified as follows:
`PYTHON_VERSION=3.7 docker-compose run --rm sqlite`
`PYTHON_VERSION=3.8 docker-compose run --rm sqlite`

**Notes:**
- To ensure this is not happening due to parallelization, I had set `export DJANGO_TEST_PROCESSES=1;` while triggering `./runtests.py`

**Warning text:**
{{{
Exception ignored in: <coroutine object sleep at 0x130ef1320>
Traceback (most recent call last):
  File ""/Users/ds/.pyenv/versions/3.7.7/lib/python3.7/warnings.py"", line 518, in _warn_unawaited_coroutine
    warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
RuntimeWarning: coroutine 'sleep' was never awaited
}}}


**Other Observations:**
- This warning was not observed when running tests with Python 3.6, verified on macOS and django-docker-box. For `django-docker-box` the tests were run using: `PYTHON_VERSION=3.6 docker-compose run --rm sqlite`"	Cleanup/optimization	closed	Testing framework	3.0	Normal	fixed			Ready for checkin	1	0	0	0	1	0
