sympy/sympy — pull request #966 by ness01 (2012-01-13 11:39:26+00:00)
Title: Test for issue 1839.

Issue 1839 can be closed; this commit slightly adapts an existing test to make sure it works in the generality asked for in the issue.