File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1076,11 +1076,11 @@ def test_avg_std(self):
10761076 self .assertAlmostEqual (s2 / (N - 1 ), sigmasqrd , places = 2 ,
10771077 msg = '%s%r' % (variate .__name__ , args ))
10781078 def test_binomialvariate_log_zero (self ):
1079- # gh-149222: Variety random() return 0.0 no input Error
1080- with unittest .mock .patch .object (random .Random , 'random' , return_value = 0.0 ):
1081- result = random .binomialvariate (10 , 0.5 )
1082- self .assertIsInstance (result , int )
1083- self .assertIn (result , range (11 ))
1079+ # gh-149222: Variety random() return 0.0 no input Error
1080+ with unittest .mock .patch .object (random .Random , 'random' , return_value = 0.0 ):
1081+ result = random .binomialvariate (10 , 0.5 )
1082+ self .assertIsInstance (result , int )
1083+ self .assertIn (result , range (11 ))
10841084
10851085 def test_constant (self ):
10861086 g = random .Random ()
You can’t perform that action at this time.
0 commit comments