mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
#11565: Fix several typos. Patch by Piotr Kasprzyk.
This commit is contained in:
parent
e3d09ff269
commit
13925008dc
94 changed files with 126 additions and 126 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue