summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_float.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2011-03-19 14:15:28 (GMT)
committerSkip Montanaro <skip@pobox.com>2011-03-19 14:15:28 (GMT)
commitb61efd0a68a392e22e5f4a46e03b250977e6236b (patch)
treeb98bee40cb949aca3c50392d72d9858487dbb890 /Lib/test/test_float.py
parentb40dea7499281b288f513fdbe17dad198eb21ffe (diff)
parenta4d5b0cb620d8dfc07623f4fe2b551257217589d (diff)
downloadcpython-b61efd0a68a392e22e5f4a46e03b250977e6236b.zip
cpython-b61efd0a68a392e22e5f4a46e03b250977e6236b.tar.gz
cpython-b61efd0a68a392e22e5f4a46e03b250977e6236b.tar.bz2
commit merge
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 72a2643..4e6f854 100644
--- a/Lib/test/test_float.py
+++ b/Lib/test/test_float.py
@@ -67,7 +67,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
@@ -189,7 +189,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)))
@support.requires_IEEE_754