Added deprecation warnings to tests
SymPyDeprecationWarnings raise an error in the tests
Merge branch 'master' into deprecation_warning_tests
Fix an import
Merge pull request #2094 from asmeurer/deprecation_warning_tests

Raise an error if SymPyDeprecationWarnings are raised in the tests