mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Whitespace normalization.
This commit is contained in:
parent
f805cd2c1f
commit
f2715e0764
26 changed files with 110 additions and 114 deletions
|
@ -103,7 +103,7 @@ class CompressTestCase(unittest.TestCase):
|
|||
self.failUnless(last > len(data), "compress level 0 always expands")
|
||||
for level in range(10):
|
||||
length = len(zlib.compress(data, level))
|
||||
self.failUnless(length <= last,
|
||||
self.failUnless(length <= last,
|
||||
'compress level %d more effective than %d!' % (
|
||||
level-1, level))
|
||||
last = length
|
||||
|
@ -506,4 +506,3 @@ if False:
|
|||
su = ut.TestSuite()
|
||||
su.addTest(ut.makeSuite(tz.CompressTestCase))
|
||||
ts.run_suite(su)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue