You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to SymPy
Hi,
Is there an easy way to run a test and trace the execution in PDB?
There's a test that fails intermittently and I'd like to run it with a
specific seed (which I know causes it to fail), but I want to run it
inside of PDB. Is there an option for bin/tests for it or do I just have
to load PDB and then run the test?
Thanks,
Tim.
Jason Moore
unread,
Jul 8, 2014, 11:53:30 PM7/8/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
I typically use `ipython --pdb` then import and run the specific test
in the interpreter.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
Am 20.07.2014 08:51, schrieb Aaron Meurer:
> There is a --pdb flag to the SymPy test runner. It would be nice to
> have it support pudb too.
My understanding is that pudb uses the same mechanisms as pdb, so I'd
expect anything special for pdb to work for pudb as well.
Am I mistaken?
Regards,
Jo
Aaron Meurer
unread,
Jul 20, 2014, 2:40:59 PM7/20/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sy...@googlegroups.com
PuDB subclasses pdb, so it keeps the same interface, so it's just a
question of replacing pdb.set_trace or pdb.post_mortem with
pudb.set_trace and pudb.post_mortem.
Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit