#31407: RuntimeWarning when running
AsyncHandlerRequestTests.test_unawaited_response.
--------------------------------------+------------------------------------
     Reporter:  Deep Sukhwani         |                    Owner:  Mark
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Testing framework     |                  Version:  3.0
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  1                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by felixxm):

 * status:  closed => new
 * has_patch:  1 => 0
 * resolution:  fixed =>


Comment:

 With this fix we have the same warning but after all tests, e.g.
 {{{
 ./runtests.py handlers --parallel=1

 Testing against Django installed in 'django/django'
 Creating test database for alias 'default'...
 System check identified no issues (0 silenced).
 .............................
 ----------------------------------------------------------------------
 Ran 29 tests in 0.377s

 OK
 Destroying test database for alias 'default'...
 Exception ignored in: <coroutine object sleep at 0x7fc660d70040>
 RuntimeWarning: coroutine 'sleep' was never awaited
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31407#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/071.a454d0f49c83215df056271518e0e6e3%40djangoproject.com.

Reply via email to