summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-01-13 17:37:38 (GMT)
committerTim Peters <tim.peters@gmail.com>2005-01-13 17:37:38 (GMT)
commit608c2fff692e086cd7fc800ea9b8cdd2627f8f5d (patch)
treef208c36905b848031e1576f70826d0863311e2f0 /Lib
parentf69d94f6c0263975c2b197a47487472d20a0c92c (diff)
downloadcpython-608c2fff692e086cd7fc800ea9b8cdd2627f8f5d.zip
cpython-608c2fff692e086cd7fc800ea9b8cdd2627f8f5d.tar.gz
cpython-608c2fff692e086cd7fc800ea9b8cdd2627f8f5d.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/configHandler.py2
-rw-r--r--Lib/test/test_csv.py14
2 files changed, 8 insertions, 8 deletions
diff --git a/Lib/idlelib/configHandler.py b/Lib/idlelib/configHandler.py
index d13f1e4..ea913c7 100644
--- a/Lib/idlelib/configHandler.py
+++ b/Lib/idlelib/configHandler.py
@@ -193,7 +193,7 @@ class IdleConf:
"""
Creates (if required) and returns a filesystem directory for storing
user config files.
-
+
"""
cfgDir = '.idlerc'
userDir = os.path.expanduser('~')
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py
index 21bd8d7..2347be9 100644
--- a/Lib/test/test_csv.py
+++ b/Lib/test/test_csv.py
@@ -30,9 +30,9 @@ class Test_Csv(unittest.TestCase):
self.assertRaises(TypeError, ctor, arg, lineterminator=None)
self.assertRaises(TypeError, ctor, arg, lineterminator=1)
self.assertRaises(TypeError, ctor, arg, quoting=None)
- self.assertRaises(TypeError, ctor, arg,
+ self.assertRaises(TypeError, ctor, arg,
quoting=csv.QUOTE_ALL, quotechar='')
- self.assertRaises(TypeError, ctor, arg,
+ self.assertRaises(TypeError, ctor, arg,
quoting=csv.QUOTE_ALL, quotechar=None)
def test_reader_arg_valid(self):
@@ -172,15 +172,15 @@ class Test_Csv(unittest.TestCase):
self.assertRaises(csv.Error,
self._write_test,
['a',1,'p,"q"'], 'a,1,"p,\\"q\\""',
- escapechar=None, doublequote=False)
+ escapechar=None, doublequote=False)
self._write_test(['a',1,'p,"q"'], 'a,1,"p,\\"q\\""',
escapechar='\\', doublequote = False)
- self._write_test(['"'], '""""',
+ self._write_test(['"'], '""""',
escapechar='\\', quoting = csv.QUOTE_MINIMAL)
- self._write_test(['"'], '\\"',
+ self._write_test(['"'], '\\"',
escapechar='\\', quoting = csv.QUOTE_MINIMAL,
doublequote = False)
- self._write_test(['"'], '\\"',
+ self._write_test(['"'], '\\"',
escapechar='\\', quoting = csv.QUOTE_NONE)
self._write_test(['a',1,'p,q'], 'a,1,p\\,q',
escapechar='\\', quoting = csv.QUOTE_NONE)
@@ -244,7 +244,7 @@ class Test_Csv(unittest.TestCase):
# will this fail where locale uses comma for decimals?
self._read_test([',3,"5",7.3, 9'], [['', 3, '5', 7.3, 9]],
quoting=csv.QUOTE_NONNUMERIC)
- self.assertRaises(ValueError, self._read_test,
+ self.assertRaises(ValueError, self._read_test,
['abc,3'], [[]],
quoting=csv.QUOTE_NONNUMERIC)