sympy/sympy — pull request #1574 by jrioux (2012-10-13 00:48:20+00:00)
Title: Pass tests -t sympy

WARNING: This is against 0.7.2, as some of the -t sympy failures are already fixed in 0.7.2 compared to master. If it is not desirable for the release, we can also wait until after 0.7.2 is merged with master.

With these changes, tests pass with the sympy ground types. Although we might want to remove sympy ground types eventually, Aaron pointed out that the mapping `ZZ(int)` should be used instead of `int` inside polys. Indeed, testing with -t sympy revealed potential bugs. After the changes, all tests pass with -t sympy, and the doctest failures with -t sympy are limited to difference in printing "0" versus "0/1", "1" versus "1/1", and so on.