summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-11-24 02:35:35 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-11-24 02:35:35 (GMT)
commit77c06fbf942bf4c532d0f8d6f254882a9e5957ec (patch)
treec892e2501626f2657386eb39c524611215ded052 /Lib/test
parentb808c5cf2da088e66f43de61d3c5d741b134f419 (diff)
downloadcpython-77c06fbf942bf4c532d0f8d6f254882a9e5957ec.zip
cpython-77c06fbf942bf4c532d0f8d6f254882a9e5957ec.tar.gz
cpython-77c06fbf942bf4c532d0f8d6f254882a9e5957ec.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_bsddb3.py1
-rw-r--r--Lib/test/test_format.py8
-rw-r--r--Lib/test/test_normalization.py3
3 files changed, 5 insertions, 7 deletions
diff --git a/Lib/test/test_bsddb3.py b/Lib/test/test_bsddb3.py
index a42238d..0b3c665 100644
--- a/Lib/test/test_bsddb3.py
+++ b/Lib/test/test_bsddb3.py
@@ -57,4 +57,3 @@ if __name__ == '__main__':
print '-=' * 38
unittest.main( defaultTest='suite' )
-
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index da4d85a..f791874 100644
--- a/Lib/test/test_format.py
+++ b/Lib/test/test_format.py
@@ -221,13 +221,13 @@ if have_unicode:
test_exc('%d', '1', TypeError, "int argument required")
test_exc('%g', '1', TypeError, "float argument required")
-test_exc('no format', '1', TypeError,
+test_exc('no format', '1', TypeError,
"not all arguments converted during string formatting")
-test_exc('no format', u'1', TypeError,
+test_exc('no format', u'1', TypeError,
"not all arguments converted during string formatting")
-test_exc(u'no format', '1', TypeError,
+test_exc(u'no format', '1', TypeError,
"not all arguments converted during string formatting")
-test_exc(u'no format', u'1', TypeError,
+test_exc(u'no format', u'1', TypeError,
"not all arguments converted during string formatting")
if sys.maxint == 2**32-1:
diff --git a/Lib/test/test_normalization.py b/Lib/test/test_normalization.py
index a263fc5..39c48a4 100644
--- a/Lib/test/test_normalization.py
+++ b/Lib/test/test_normalization.py
@@ -46,7 +46,7 @@ for line in data:
if verbose:
print line
-
+
# Perform tests
verify(c2 == NFC(c1) == NFC(c2) == NFC(c3), line)
verify(c4 == NFC(c4) == NFC(c5), line)
@@ -65,4 +65,3 @@ for c in range(sys.maxunicode+1):
if X in part1_data:
continue
assert X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c
-