Skip to content

Commit ba2e77c

Browse files
committed
remove misleading test
1 parent 4e8277f commit ba2e77c

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

Lib/test/test_math.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,6 @@ def test_fmax(self):
632632
self.assertEqual(math.fmax(1., 2.), 2.)
633633
self.assertEqual(math.fmax(2., 1.), 2.)
634634

635-
# fmax() does not need to be sensitive to the sign of 0 (§F.10.9.2).
636-
self.assertEqual(math.fmax(+0., -0.), 0.)
637-
self.assertEqual(math.fmax(-0., +0.), 0.)
638-
639635
self.assertEqual(math.fmax(+1., +0.), 1.)
640636
self.assertEqual(math.fmax(+0., +1.), 1.)
641637
self.assertEqual(math.fmax(+1., -0.), 1.)
@@ -679,10 +675,6 @@ def test_fmin(self):
679675
self.assertEqual(math.fmin(1., 2.), 1.)
680676
self.assertEqual(math.fmin(2., 1.), 1.)
681677

682-
# fmin() does not need to be sensitive to the sign of 0 (§F.10.9.3).
683-
self.assertEqual(math.fmin(+0., -0.), 0.)
684-
self.assertEqual(math.fmin(-0., +0.), 0.)
685-
686678
self.assertEqual(math.fmin(+1., +0.), 0.)
687679
self.assertEqual(math.fmin(+0., +1.), 0.)
688680
self.assertEqual(math.fmin(+1., -0.), 0.)

0 commit comments

Comments
 (0)