@@ -618,7 +618,7 @@ def test_mul_div_cases(self):
618618 assert isinstance (elem [0 ].op , (Elemwise ,))
619619 assert isinstance (
620620 elem [0 ].op .scalar_op ,
621- (aes .basic .Reciprocal , aes .basic .TrueDiv ),
621+ (aes .basic .Reciprocal , aes .basic .TrueDivide ),
622622 )
623623 assert out_dtype == out .dtype
624624
@@ -693,7 +693,7 @@ def test_mul_div_cases(self):
693693 topo = f .maker .fgraph .toposort ()
694694 assert len (topo ) == 1
695695 assert isinstance (topo [0 ].op , (Elemwise ,))
696- assert isinstance (topo [0 ].op .scalar_op , aes .basic .TrueDiv )
696+ assert isinstance (topo [0 ].op .scalar_op , aes .basic .TrueDivide )
697697 assert len (topo [0 ].inputs ) == 2
698698 assert out_dtype == out .dtype
699699
@@ -746,7 +746,7 @@ def test_mul_div_cases(self):
746746 assert isinstance (topo [0 ].op .scalar_op , aes .basic .Mul )
747747 assert len (topo [0 ].inputs ) == 2
748748 assert isinstance (topo [1 ].op , (Elemwise ,))
749- assert isinstance (topo [1 ].op .scalar_op , aes .basic .TrueDiv )
749+ assert isinstance (topo [1 ].op .scalar_op , aes .basic .TrueDivide )
750750 assert len (topo [1 ].inputs ) == 2
751751 assert out_dtype == out .dtype
752752
@@ -3729,7 +3729,7 @@ def test_local_sum_div_dimshuffle(self):
37293729 for i , s in enumerate (sums ):
37303730 f = function ([a , b , c , d ], s , mode = self .mode , on_unused_input = "ignore" )
37313731 g = f .maker .fgraph .toposort ()
3732- assert isinstance (g [- 1 ].op .scalar_op , aes .basic .TrueDiv )
3732+ assert isinstance (g [- 1 ].op .scalar_op , aes .basic .TrueDivide )
37333733 f (a_val , b_val , c_val , d_val )
37343734
37353735 def test_local_prod_div_dimshuffle (self ):
@@ -3820,7 +3820,7 @@ def test_local_prod_div_dimshuffle(self):
38203820 aes .basic .Mul ,
38213821 aes .basic .Composite ,
38223822 aes .basic .Composite ,
3823- aes .basic .TrueDiv ,
3823+ aes .basic .TrueDivide ,
38243824 aes .basic .Composite ,
38253825 aes .basic .Mul ,
38263826 aes .basic .Composite ,
0 commit comments