summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 09:05:33 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 09:05:33 (GMT)
commit13925008dc11f2a235627dc8c0440c0ce99171d9 (patch)
tree4746c36be25417c56cf86591bf222af49b7afdfd /Lib/test/test_float.py
parente3d09ff269330bd0076e3ab9cb81907fad717a68 (diff)
downloadcpython-13925008dc11f2a235627dc8c0440c0ce99171d9.zip
cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.gz
cpython-13925008dc11f2a235627dc8c0440c0ce99171d9.tar.bz2
#11565: Fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Lib/test/test_float.py')
-rw-r--r--Lib/test/test_float.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py
index b5b6b65..2b250df 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -121,7 +121,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
@@ -243,7 +243,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