Skip to content

Commit 634de83

Browse files
committed
fix
1 parent 1c7c598 commit 634de83

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/matplotlib/mlab.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2880,6 +2880,7 @@ def get_converters(reader, comments):
28802880
if checkrows and i > checkrows:
28812881
break
28822882
i += 1
2883+
28832884
for j, (name, item) in enumerate(zip(names, row)):
28842885
func = converterd.get(j)
28852886
if func is None:

lib/matplotlib/tests/test_mlab.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ def test_rec2csv_bad_shape_ValueError(self):
340340
assert_raises(ValueError, mlab.rec2csv, bad, self.fd)
341341

342342
def test_csv2rec_names_with_comments(self):
343-
self.fd.seek(0)
344343
self.fd.write('# comment\n1,2,3\n4,5,6\n')
345344
self.fd.seek(0)
346345
array = mlab.csv2rec(self.fd, names='a,b,c')

0 commit comments

Comments
 (0)