@@ -206,7 +206,6 @@ def init_dtype(self):
206206
207207
208208class TestUniformRandomOpError (unittest .TestCase ):
209-
210209 def test_errors (self ):
211210 paddle .enable_static ()
212211 main_prog = Program ()
@@ -305,7 +304,6 @@ def check_with_place(self, place):
305304
306305
307306class TestUniformRandomOpApi (unittest .TestCase ):
308-
309307 def test_api (self ):
310308 paddle .enable_static ()
311309 paddle .seed (10 )
@@ -343,7 +341,6 @@ def test_api(self):
343341
344342
345343class TestUniformRandomOp_attr_tensor_API (unittest .TestCase ):
346-
347344 def test_attr_tensor_API (self ):
348345 paddle .enable_static ()
349346 startup_program = base .Program ()
@@ -402,7 +399,6 @@ def test_attr_tensor_int32_API(self):
402399
403400
404401class TestUniformRandomOp_API_seed (unittest .TestCase ):
405-
406402 def test_attr_tensor_API (self ):
407403 paddle .enable_static ()
408404 _seed = 10
@@ -456,7 +452,6 @@ def check_with_place(self, place):
456452
457453
458454class TestUniformRandomOpSelectedRowsShapeTensorList (unittest .TestCase ):
459-
460455 def test_check_output (self ):
461456 for place in get_places ():
462457 self .check_with_place (place )
@@ -493,7 +488,6 @@ def test_check_output(self):
493488
494489
495490class TestUniformRandomBatchSizeLikeOpError (unittest .TestCase ):
496-
497491 def test_errors (self ):
498492 paddle .enable_static ()
499493 main_prog = Program ()
@@ -527,7 +521,6 @@ def test_dtype():
527521
528522
529523class TestUniformAlias (unittest .TestCase ):
530-
531524 def test_alias (self ):
532525 paddle .uniform ([2 , 3 ], min = - 5.0 , max = 5.0 )
533526 paddle .tensor .uniform ([2 , 3 ], min = - 5.0 , max = 5.0 )
@@ -540,7 +533,6 @@ def test_uniform_random():
540533
541534
542535class TestUniformOpError (unittest .TestCase ):
543-
544536 def test_errors (self ):
545537 paddle .enable_static ()
546538 main_prog = Program ()
0 commit comments