New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt doctests for py.test + misc fixes #91

Merged
merged 6 commits into from May 29, 2015

Conversation

2 participants
@skirpichev
Copy link
Collaborator

skirpichev commented May 28, 2015

No description provided.

Fix Pow._eval_subs giving wrong results when no-cache
Just a simple fix, change an 'is' to a '=='.

Example: (1/sqrt(-x**2+16)).subs(sqrt(-x**2+16), y) didn't do the
substitution when SYMPY_USE_CACHE='no'. It worked with the cache on,
however.

I've added a test for the above example too. I can approximate turning
the cache off by clearing the cache. The test didn't work before this
change and now it does.

// few minor test fixes by skirpichev

skirpichev added a commit that referenced this pull request May 29, 2015

Merge pull request #91 from skirpichev/misc
Adopt doctests for py.test + misc fixes

@skirpichev skirpichev merged commit 6e09993 into master May 29, 2015

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls First build on master at 92.97%
Details

@skirpichev skirpichev deleted the misc branch May 29, 2015

@skirpichev skirpichev modified the milestone: 0.8.0 Sep 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment