Re: [Django] #25516: Debugging with pdb in parallel tests

2015-10-06 Thread Django
#25516: Debugging with pdb in parallel tests
--+
 Reporter:  yellowcap |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.9a1
 Severity:  Normal|   Resolution:  fixed
 Keywords:  parallel tests| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by Tim Graham ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"cb15cebde0799210a0ce37e744fd4f284b36" cb15ceb5]:
 {{{
 #!CommitTicketReference repository=""
 revision="cb15cebde0799210a0ce37e744fd4f284b36"
 Fixed #25516 -- Documented that parallel test excution doesn't work with
 pdb.
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.9ab720ad733824d0216caa77f3b0c9dc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25516: Debugging with pdb in parallel tests

2015-10-06 Thread Django
#25516: Debugging with pdb in parallel tests
--+
 Reporter:  yellowcap |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.9a1
 Severity:  Normal|   Resolution:  fixed
 Keywords:  parallel tests| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"2f9bc9933417d4a2b4b0196cfd9e7e886500e98d" 2f9bc99]:
 {{{
 #!CommitTicketReference repository=""
 revision="2f9bc9933417d4a2b4b0196cfd9e7e886500e98d"
 [1.9.x] Fixed #25516 -- Documented that parallel test excution doesn't
 work with pdb.

 Backport of cb15cebde0799210a0ce37e744fd4f284b36 from master
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7d509b8abe8e4887b8a49e89453dd748%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25516: Debugging with pdb in parallel tests

2015-10-06 Thread Django
#25516: Debugging with pdb in parallel tests
--+
 Reporter:  yellowcap |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.9a1
 Severity:  Normal|   Resolution:
 Keywords:  parallel tests| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+

Comment (by aaugustin):

 Yes. Thanks.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.12aa239df4e1f08398ad0388771fe8b0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25516: Debugging with pdb in parallel tests

2015-10-06 Thread Django
#25516: Debugging with pdb in parallel tests
--+
 Reporter:  yellowcap |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  1.9a1
 Severity:  Normal|   Resolution:
 Keywords:  parallel tests| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * has_patch:  0 => 1
 * component:  Testing framework => Documentation
 * stage:  Unreviewed => Accepted


Comment:

 Good enough?
 {{{
 #!diff
 diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
 index a48a704..801f9a4 100644
 --- a/docs/ref/django-admin.txt
 +++ b/docs/ref/django-admin.txt
 @@ -1267,6 +1267,10 @@ correctly:
  This feature isn't available on Windows. It doesn't work with the Oracle
  database backend either.

 +If you want to use :mod:`pdb` while debugging tests, you must disable
 parallel
 +execution (``--parallel=1``). You'll see something like ``bdb.BdbQuit``
 if you
 +don't.
 +
  .. warning::

  When test parallelization is enabled and a test fails, Django may be
 }}}

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.4725540fd9718464db8ec8e988cd1914%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25516: Debugging with pdb in parallel tests

2015-10-06 Thread Django
#25516: Debugging with pdb in parallel tests
-+-
 Reporter:  yellowcap|Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Testing framework|  Version:  1.9a1
 Severity:  Normal   |   Resolution:
 Keywords:  parallel tests   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by aaugustin):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 There is no way this can work. We should document this as a known
 limitation.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bd1473ba193208463a22c25ba22db0db%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25516: Debugging with pdb in parallel tests

2015-10-06 Thread Django
#25516: Debugging with pdb in parallel tests
--+
 Reporter:  yellowcap |  Owner:  nobody
 Type:  Cleanup/optimization  | Status:  new
Component:  Testing framework |Version:  1.9a1
 Severity:  Normal|   Keywords:  parallel tests
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  0 |  UI/UX:  0
--+
 I regularly use the testing framework to run code I am working on and use
 pdb/ipdb to halt the execution and do some "manual" testing.

 In parallel testing mode I was not able to do that, as the pdb.set_trace()
 statement exits automatically. I guess that this is could be expected and
 maybe desired behaviour, but if not it would be nice to be able to ipdb
 into tests run in parallel as well.

 It took me a while to find the reason for the automatic exits, so if its
 not possible to pdb into parlallel tests, maybe adding a line or two in
 the documentation about this could be helpful for others.

--
Ticket URL: 
Django 
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/052.f031958b27ba739d51d9c1f15d335380%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.