#34930: Parallel tests fail on Python 3.11+ and django 4.1.0+ when
IsolatedAsyncioTestCase is used
-------------------------------------+-------------------------------------
     Reporter:  Matt Hegarty         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Testing framework    |                  Version:  4.2
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:  pickle               |             Triage Stage:
  _contextvars.Context _contextvars  |  Unreviewed
  Context                            |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Matt Hegarty):

 I wonder why it reports that there are 4 tests in your test run.

 My output (Mac Ventura) using homebrew is below (tests pass).  However, I
 tried the same on my Ubuntu instance, and it failed with the same error
 you got.  Mariusz stated that homebrew is dodgy, so perhaps that's the
 reason for the success.

 I guess no need to spend any more time on it and we can leave it closed.

 {{{
 (tutorial-311) ➜  tutorial git:(main) ✗ python -c "import django;
 print(django.get_version())"
 4.0.11
 (tutorial-311) ➜  tutorial git:(main) ✗ ./manage.py test --parallel
 Found 2 test(s).
 System check identified no issues (0 silenced).
 ..
 ----------------------------------------------------------------------
 Ran 2 tests in 0.005s

 OK
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34930#comment:8>
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/0107018b7121e3b3-489621bb-019f-4ea8-b93d-5c8246d40b9d-000000%40eu-central-1.amazonses.com.

Reply via email to