From 7c7b4466f5430be0704343e299a6b97e93f4fbf4 Mon Sep 17 00:00:00 2001 From: Matt Wala Date: Fri, 27 Jan 2017 16:12:14 -0600 Subject: [PATCH] Test subscript conversion. --- test/test_sympy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/test_sympy.py b/test/test_sympy.py index e3d7a8a..2286d26 100644 --- a/test/test_sympy.py +++ b/test/test_sympy.py @@ -95,6 +95,8 @@ def _test_from_pymbolic(mapper, sym): assert mapper(prim.Derivative(x_**2, ("x",))) == \ sym.Derivative(x**2, x) + assert mapper(x_[0]) == sym.Symbol("x_0") + # }}} -- GitLab