Blame SOURCES/sympy-theano-pymc.patch

rdobuilder 8c319e
--- sympy-sympy-1.6.2/sympy/printing/tests/test_theanocode.py.orig	2020-08-07 09:17:07.000000000 -0600
rdobuilder 8c319e
+++ sympy-sympy-1.6.2/sympy/printing/tests/test_theanocode.py	2020-11-26 07:36:24.900389599 -0700
rdobuilder 8c319e
@@ -350,7 +350,7 @@ def test_theano_function_scalar():
rdobuilder 8c319e
             f = theano_function_(inputs, outputs, dims=in_dims, scalar=scalar)
rdobuilder 8c319e
 
rdobuilder 8c319e
             # Check the theano_function attribute is set whether wrapped or not
rdobuilder 8c319e
-            assert isinstance(f.theano_function, theano.compile.function_module.Function)
rdobuilder 8c319e
+            assert isinstance(f.theano_function, theano.compile.function.types.Function)
rdobuilder 8c319e
 
rdobuilder 8c319e
             # Feed in inputs of the appropriate size and get outputs
rdobuilder 8c319e
             in_values = [
rdobuilder 8c319e
--- sympy-sympy-1.6.2/sympy/printing/theanocode.py.orig	2020-08-07 09:17:07.000000000 -0600
rdobuilder 8c319e
+++ sympy-sympy-1.6.2/sympy/printing/theanocode.py	2020-11-26 07:35:55.667441366 -0700
rdobuilder 8c319e
@@ -442,7 +442,7 @@ def theano_function(inputs, outputs, sca
rdobuilder 8c319e
         function will return a list of arrays. See description of the ``squeeze``
rdobuilder 8c319e
         argument above for the behavior when a single output is passed in a list.
rdobuilder 8c319e
         The returned object will either be an instance of
rdobuilder 8c319e
-        ``theano.compile.function_module.Function`` or a Python wrapper
rdobuilder 8c319e
+        ``theano.compile.function.types.Function`` or a Python wrapper
rdobuilder 8c319e
         function around one. In both cases, the returned value will have a
rdobuilder 8c319e
         ``theano_function`` attribute which points to the return value of
rdobuilder 8c319e
         ``theano.function``.