diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-16 10:34:31 (GMT) | 
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-16 10:34:31 (GMT) | 
| commit | c2077b0d9b5bf99768c6f396bf7ae6c41b682465 (patch) | |
| tree | 8a1dc9e646a99465f4f1c9961012d52ef183e653 /Lib/test/test_float.py | |
| parent | 6905de14fef619767693f8bd91996bc7e99ca9fe (diff) | |
| download | cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.zip cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.tar.gz cpython-c2077b0d9b5bf99768c6f396bf7ae6c41b682465.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.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_float.py b/Lib/test/test_float.py index e16be06..d9cac74 100644 --- a/Lib/test/test_float.py +++ b/Lib/test/test_float.py @@ -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  | 
