Whitespace normalization.

This commit is contained in:
Tim Peters 2004-07-08 04:22:35 +00:00
parent 0e43db5baa
commit 27f883687b
15 changed files with 26 additions and 35 deletions

View file

@ -133,7 +133,7 @@ class Test_Csv(unittest.TestCase):
finally:
fileobj.close()
os.unlink(name)
def _read_test(self, input, expect, **kwargs):
reader = csv.reader(input, **kwargs)
result = list(reader)
@ -226,7 +226,7 @@ class TestDialectRegistry(unittest.TestCase):
finally:
fileobj.close()
os.unlink(name)
def test_dialect_apply(self):
class testA(csv.excel):
delimiter = "\t"
@ -247,7 +247,7 @@ class TestDialectRegistry(unittest.TestCase):
finally:
fileobj.close()
os.unlink(name)
fd, name = tempfile.mkstemp()
fileobj = os.fdopen(fd, "w+b")
try: