mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Whitespace normalization.
Note: This test fails on Windows. Don't know why yet.
This commit is contained in:
parent
fe36fc91ed
commit
fa712ca1ed
1 changed files with 3 additions and 4 deletions
|
@ -10,10 +10,10 @@ StringType = type('')
|
|||
|
||||
# Test the old and obsolescent fpformat module.
|
||||
#
|
||||
# (It's obsolescent because fix(n,d) == "%.*f"%(d,n) and
|
||||
# (It's obsolescent because fix(n,d) == "%.*f"%(d,n) and
|
||||
# sci(n,d) == "%.*e"%(d,n)
|
||||
# for all reasonable numeric n and d, except that sci gives 3 exponent
|
||||
# digits instead of 2.
|
||||
# for all reasonable numeric n and d, except that sci gives 3 exponent
|
||||
# digits instead of 2.
|
||||
#
|
||||
# Differences only occur for unreasonable n and d. <.2 wink>)
|
||||
|
||||
|
@ -64,4 +64,3 @@ class FpformatTest(unittest.TestCase):
|
|||
self.fail("No exception on non-numeric sci")
|
||||
|
||||
run_unittest(FpformatTest)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue