diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-10-18 21:57:37 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-10-18 21:57:37 (GMT) |
commit | e0c446bb4ad67294f42d4cb53b4ff28413bd8dde (patch) | |
tree | b4f286b4e6f2259ec47569561c4c62762e78b3f2 /Lib/test | |
parent | 8a57f00081b6f83168007fc701447d7926acc6c4 (diff) | |
download | cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.zip cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.tar.gz cpython-e0c446bb4ad67294f42d4cb53b4ff28413bd8dde.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/pickletester.py | 2 | ||||
-rwxr-xr-x | Lib/test/regrtest.py | 2 | ||||
-rwxr-xr-x | Lib/test/test_binascii.py | 1 | ||||
-rw-r--r-- | Lib/test/test_cpickle.py | 2 | ||||
-rw-r--r-- | Lib/test/test_email.py | 2 | ||||
-rw-r--r-- | Lib/test/test_os.py | 4 | ||||
-rw-r--r-- | Lib/test/test_pickle.py | 2 | ||||
-rw-r--r-- | Lib/test/test_socket_ssl.py | 3 | ||||
-rw-r--r-- | Lib/test/test_zlib.py | 2 |
9 files changed, 8 insertions, 12 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index 0f36d66..01e7a93 100644 --- a/Lib/test/pickletester.py +++ b/Lib/test/pickletester.py @@ -75,7 +75,7 @@ BINDATA = ']q\x01(K\x00L1L\nG@\x00\x00\x00\x00\x00\x00\x00' + \ '\x00\x80J\x00\x00\x00\x80(U\x03abcq\x04h\x04(c__main__\n' + \ 'C\nq\x05oq\x06}q\x07(U\x03fooq\x08K\x01U\x03barq\tK\x02ubh' + \ '\x06tq\nh\nK\x05e.' - + def create_data(): c = C() c.foo = 1 diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 1f9efa7..0531896 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -199,7 +199,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0, good.sort() bad.sort() skipped.sort() - + if good and not quiet: if not bad and not skipped and len(good) > 1: print "All", diff --git a/Lib/test/test_binascii.py b/Lib/test/test_binascii.py index 97461f0..c14f894 100755 --- a/Lib/test/test_binascii.py +++ b/Lib/test/test_binascii.py @@ -113,4 +113,3 @@ else: # Verify the treatment of Unicode strings verify(binascii.hexlify(u'a') == '61', "hexlify failed for Unicode") - diff --git a/Lib/test/test_cpickle.py b/Lib/test/test_cpickle.py index 3aebcc0..8047bc5 100644 --- a/Lib/test/test_cpickle.py +++ b/Lib/test/test_cpickle.py @@ -4,7 +4,7 @@ from pickletester import AbstractPickleTests, AbstractPickleModuleTests from test_support import run_unittest class cPickleTests(AbstractPickleTests, AbstractPickleModuleTests): - + def setUp(self): self.dumps = cPickle.dumps self.loads = cPickle.loads diff --git a/Lib/test/test_email.py b/Lib/test/test_email.py index e0180f7..4298ec2 100644 --- a/Lib/test/test_email.py +++ b/Lib/test/test_email.py @@ -291,7 +291,7 @@ class TestLongHeaders(unittest.TestCase): self.assertEqual(sfp.getvalue(), """\ From: test@dom.ain References: <0@dom.ain> <1@dom.ain> <2@dom.ain> <3@dom.ain> <4@dom.ain> - <5@dom.ain> <6@dom.ain> <7@dom.ain> <8@dom.ain> <9@dom.ain> +\t<5@dom.ain> <6@dom.ain> <7@dom.ain> <8@dom.ain> <9@dom.ain> Test""") diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 6adf109..ae3bcc3 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -68,7 +68,7 @@ class StatAttributeTests(unittest.TestCase): f = open(self.fname, 'wb') f.write("ABC") f.close() - + def tearDown(self): os.unlink(self.fname) os.rmdir(TESTFN) @@ -133,7 +133,7 @@ class StatAttributeTests(unittest.TestCase): except TypeError: pass - + def test_statvfs_attributes(self): if not hasattr(os, "statvfs"): return diff --git a/Lib/test/test_pickle.py b/Lib/test/test_pickle.py index e8c7f30..06a554e 100644 --- a/Lib/test/test_pickle.py +++ b/Lib/test/test_pickle.py @@ -8,7 +8,7 @@ class PickleTests(AbstractPickleTests, AbstractPickleModuleTests): def setUp(self): self.dumps = pickle.dumps self.loads = pickle.loads - + module = pickle error = KeyError diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index 9cf9cfe..2645876 100644 --- a/Lib/test/test_socket_ssl.py +++ b/Lib/test/test_socket_ssl.py @@ -25,6 +25,3 @@ socket.RAND_add("this is a random string", 75.0) f = urllib.urlopen('https://sf.net') buf = f.read() f.close() - - - diff --git a/Lib/test/test_zlib.py b/Lib/test/test_zlib.py index 915f582..8881516 100644 --- a/Lib/test/test_zlib.py +++ b/Lib/test/test_zlib.py @@ -95,7 +95,7 @@ if decomp2 != buf: print "max_length decompressobj failed" else: print "max_length decompressobj succeeded" - + # Misc tests of max_length deco = zlib.decompressobj(-12) try: |