#11565: Fix several typos. Patch by Piotr Kasprzyk.

This commit is contained in:
Ezio Melotti 2011-03-16 12:34:31 +02:00
parent 6905de14fe
commit c2077b0d9b
91 changed files with 125 additions and 125 deletions

View file

@ -56,7 +56,7 @@ class GeneralFloatCases(unittest.TestCase):
def test_float_with_comma(self):
# set locale to something that doesn't use '.' for the decimal point
# float must not accept the locale specific decimal point but
# it still has to accept the normal python syntac
# it still has to accept the normal python syntax
import locale
if not locale.localeconv()['decimal_point'] == ',':
return
@ -158,7 +158,7 @@ class GeneralFloatCases(unittest.TestCase):
def assertEqualAndEqualSign(self, a, b):
# fail unless a == b and a and b have the same sign bit;
# the only difference from assertEqual is that this test
# distingishes -0.0 and 0.0.
# distinguishes -0.0 and 0.0.
self.assertEqual((a, copysign(1.0, a)), (b, copysign(1.0, b)))
@requires_IEEE_754