summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-20 03:47:14 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-08-20 03:47:14 (GMT)
commita45cacfc1c4fb2b7b1b5c74e1f6b56d6ca2c9e4c (patch)
treed6f8c90d17a1b690f15037493c348468cc14cd3f /Lib/test
parent8d7626c23f89cfed31b04a05c9ec2fba7e0a7bf4 (diff)
downloadcpython-a45cacfc1c4fb2b7b1b5c74e1f6b56d6ca2c9e4c.zip
cpython-a45cacfc1c4fb2b7b1b5c74e1f6b56d6ca2c9e4c.tar.gz
cpython-a45cacfc1c4fb2b7b1b5c74e1f6b56d6ca2c9e4c.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test__locale.py2
-rw-r--r--Lib/test/test_posixpath.py6
-rw-r--r--Lib/test/test_zipfile.py2
3 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py
index c113c63..97aaef8 100644
--- a/Lib/test/test__locale.py
+++ b/Lib/test/test__locale.py
@@ -33,6 +33,6 @@ try:
if nl_radixchar != li_radixchar:
print "%r != %r" % (nl_radixchar, li_radixchar)
if not saw_locale:
- raise ImportError, "None of the listed locales found"
+ raise ImportError, "None of the listed locales found"
finally:
setlocale(LC_NUMERIC, oldlocale)
diff --git a/Lib/test/test_posixpath.py b/Lib/test/test_posixpath.py
index 75cd50b..1fc3e7c 100644
--- a/Lib/test/test_posixpath.py
+++ b/Lib/test/test_posixpath.py
@@ -397,7 +397,7 @@ class PosixPathTest(unittest.TestCase):
def test_realpath(self):
self.assert_("foo" in realpath("foo"))
self.assertRaises(TypeError, posixpath.realpath)
-
+
if hasattr(os, "symlink"):
def test_realpath_basic(self):
# Basic operation.
@@ -406,7 +406,7 @@ class PosixPathTest(unittest.TestCase):
self.assertEqual(realpath(ABSTFN), ABSTFN+"1")
finally:
self.safe_remove(ABSTFN)
-
+
def test_realpath_symlink_loops(self):
# Bug #930024, return the path unchanged if we get into an infinite
# symlink loop.
@@ -429,7 +429,7 @@ class PosixPathTest(unittest.TestCase):
self.safe_remove(ABSTFN+"1")
self.safe_remove(ABSTFN+"2")
- def test_realpath_resolve_parents(self):
+ def test_realpath_resolve_parents(self):
# We also need to resolve any symlinks in the parents of a relative
# path passed to realpath. E.g.: current working directory is
# /usr/doc with 'doc' being a symlink to /usr/share/doc. We call
diff --git a/Lib/test/test_zipfile.py b/Lib/test/test_zipfile.py
index 15f97b5..57e7423 100644
--- a/Lib/test/test_zipfile.py
+++ b/Lib/test/test_zipfile.py
@@ -3,7 +3,7 @@ try:
import zlib
except ImportError:
zlib = None
-
+
import zipfile, os, unittest
from StringIO import StringIO