Skip to content

Commit 4c46836

Browse files
committed
tweak style
1 parent f878d60 commit 4c46836

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

Lib/test/test_csv.py

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -207,19 +207,10 @@ def test_write_escape_escapechar(self):
207207
]
208208
for fields, expected, quoting in tests:
209209
for doublequote in [True, False]:
210-
with self.subTest(
211-
fields=fields,
212-
expected=expected,
213-
quoting=quoting,
214-
doublequote=doublequote,
215-
):
216-
self._write_test(
217-
fields,
218-
expected,
219-
escapechar='/',
220-
quoting=quoting,
221-
doublequote=doublequote,
222-
)
210+
with self.subTest(fields, quoting=quoting, doublequote=doublequote):
211+
self._write_test(fields, expected,
212+
escapechar='/', quoting=quoting,
213+
doublequote=doublequote)
223214

224215
def test_write_iterable(self):
225216
self._write_test(iter(['a', 1, 'p,q']), 'a,1,"p,q"')

0 commit comments

Comments
 (0)