From 2032d5aeb2895d4f7fb0761c9a83e14ca7d6fc4d Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Thu, 20 Sep 2018 11:55:38 -0500 Subject: [PATCH] Fix test that used sympy antipattern calling a symbol which resulted in a Function was introduced as a workaround for sympy internals and these were fixed in sympy 1.3 and calling a symbol was removed. --- test/test_pymbolic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_pymbolic.py b/test/test_pymbolic.py index a049cd2..5df2184 100644 --- a/test/test_pymbolic.py +++ b/test/test_pymbolic.py @@ -95,7 +95,7 @@ def test_sympy_interaction(): import sympy as sp x, y = sp.symbols("x y") - f = sp.symbols("f") + f = sp.Function("f") s1_expr = 1/f(x/sp.sqrt(x**2+y**2)).diff(x, 5) -- GitLab