Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pandas/tests/io/parser/python_parser_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"""

import csv
import sys

import pytest

Expand Down Expand Up @@ -230,6 +231,7 @@ def test_multi_char_sep_quotes(self):
self.read_csv(StringIO(data), sep=',,',
quoting=csv.QUOTE_NONE)

@tm.capture_stderr
def test_none_delimiter(self):
# see gh-13374 and gh-17465

Expand All @@ -247,6 +249,9 @@ def test_none_delimiter(self):
warn_bad_lines=True)
tm.assert_frame_equal(result, expected)

warning = sys.stderr.getvalue()
assert 'Skipping line 3' in warning

def test_skipfooter_bad_row(self):
# see gh-13879
# see gh-15910
Expand Down