#25497: Parallel test fails if tblib is not installed.
-----------------------------------+--------------------
     Reporter:  user0007           |      Owner:  nobody
         Type:  Bug                |     Status:  new
    Component:  Testing framework  |    Version:  1.9a1
     Severity:  Normal             |   Keywords:
 Triage Stage:  Unreviewed         |  Has patch:  0
Easy pickings:  0                  |      UI/UX:  0
-----------------------------------+--------------------
 The error occurs when `NoSuchElementException` (selenium) exception is
 raised:

 {{{

 test_changing_password (apps.users.tests.test_admin.UserAdminLiveServer)
 failed:

     NoSuchElementException()

 Unfortunately, tracebacks cannot be pickled, making it impossible for the
 parallel test runner to handle this exception cleanly.

 In order to see the traceback, you should install tblib:

     pip install tblib

 (...)

     subsuite_index, events = test_results.next(timeout=0.1)
   File "/usr/lib/python2.7/multiprocessing/pool.py", line 659, in next
     raise value
 TypeError: can't pickle traceback objects
 }}}

 After installing tblib everything is ok:

 {{{
 (...)

 ----------------------------------------------------------------------
 Ran 121 tests in 53.847s

 FAILED (errors=2, skipped=2)
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25497>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.5361ff67868fb46270286148c3e4a119%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to