Skip to content

Commit e33dd4b

Browse files
rhettingerpicnixz
andauthored
Update Lib/test/test_statistics.py
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent c2e821a commit e33dd4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2113,7 +2113,7 @@ def test_center_not_at_mean(self):
21132113
self.assertEqual(self.func(data, mu=0.5), 6.5)
21142114

21152115
def test_gh_140938(self):
2116-
# Inputs with math.inf should raise a ValueError
2116+
# Inputs with inf/nan should raise a ValueError
21172117
with self.assertRaises(ValueError):
21182118
self.func([1.0, math.inf])
21192119
with self.assertRaises(ValueError):

0 commit comments

Comments
 (0)