sympy / sympy_benchmarks

Some benchmarks of SymPy
14 stars 32 forks source link

Remove uneeded imports for Python 3.8 and SymPy 1.6 compatibility #64

Closed oscarbenjamin closed 4 years ago

oscarbenjamin commented 4 years ago

The benchmarks don't currently work with Python 3.8 or SymPy master due to imports that no longer exist e.g.: https://travis-ci.org/sympy/sympy/jobs/638843773?utm_medium=notification&utm_source=github_status

This removes two imports (that are not needed anyway) to fix that.

oscarbenjamin commented 4 years ago

I also had to update the code that used the Equality.refine method to use the refine function since Relational is no longer a subclass of Expr and doesn't have a refine method any more: https://github.com/sympy/sympy/pull/18053