mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Whitespace normalization.
This commit is contained in:
parent
0e43db5baa
commit
27f883687b
15 changed files with 26 additions and 35 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue