Skip to content

Commit 6ad83f6

Browse files
Spaaktwiecki
authored andcommitted
update test to accommodate int type casting
1 parent 59cfef0 commit 6ad83f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/tests/test_model_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_pandas_to_array(self):
8080
# Check function behavior with Theano graph variable
8181
theano_output = func(theano_graph_input)
8282
assert isinstance(theano_output, theano.graph.basic.Variable)
83-
assert theano_output == theano_graph_input
83+
npt.assert_allclose(theano_output.eval(), theano_graph_input.eval())
8484
assert theano_output.owner.inputs[0].name == input_name
8585

8686
# Check function behavior with generator data

0 commit comments

Comments
 (0)