I've submitted a pull request that uses the exclude keyword for that test:
https://github.com/sympy/sympy/pull/575
Sean or anyone else who also saw that test failure, can you check this pull
request to see if the tests pass on your system now? This fixes the failure
on my system.
On Mon, Aug 22,
Hi everyone,
I just did a rebase of my final pull request because there were some merge
conflicts, and I'm not getting a strange doctest failure that I don't
understand.
When I run ./bin/doctest, it tells me that this doctest (
https://github.com/lazovich/sympy/blob/represent2/sympy/physics/quant
I mean, "as I mentioned on the pull request".
Aaron Meurer
On Mon, Aug 22, 2011 at 11:38 AM, Aaron Meurer wrote:
> As I mentioned on the mailing list, this answer is valid. match() is
> not guaranteed to give any particular answer when more than one is
> valid, so you should always use the excl
Oh, sorry. I see that testmod() is the function. Does it maybe work
if you pass the globs argument to SymPy's doctest(). It may pass
through. If not, you may have to modify it so that it does (or
perhaps there's another way to do it; again you'll unfortunately have
to read some source code here
Cool. I knew there had to be a way to render LaTeX in the qtconsole
other than just using matplotlib.
Probably the best way to use this with SymPy would be to create a
custom printer that sends the output of latex() through the TeX
command. You can play around with this. I'll take a look at it
The main reason I am doing things this way is because this is how I
learned it when reading docs.python.org:
http://docs.python.org/py3k/library/doctest.html?highlight=doctest#doctest
The second reason I prefer this way is because it makes it very easy
to control the execution context of all the d
As I mentioned on the mailing list, this answer is valid. match() is
not guaranteed to give any particular answer when more than one is
valid, so you should always use the exclude keyword on Wild to make
the match unique.
Aaron Meurer
On Sun, Aug 21, 2011 at 4:59 PM, Sean Vig wrote:
> I get tha
Well, I don't know why you are doing things this way, but clearly
python -m doctest file.py or ./bin/doctest file.py do not run __name__
== `__main__`. Does it work if you replace "import doctest" with
"from sympy import doctest"?
Aaron Meurer
On Sun, Aug 21, 2011 at 2:32 PM, Luke Peterson wrot