Skip to content

REF/TST: Finish pytest idiom in parser tests #23863

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2018
Merged
Show file tree
Hide file tree
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
1,620 changes: 0 additions & 1,620 deletions pandas/tests/io/parser/common.py

This file was deleted.

6 changes: 2 additions & 4 deletions pandas/tests/io/parser/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pytest

from pandas import read_csv, read_table
import pandas.util.testing as tm


class BaseParser(object):
Expand All @@ -24,8 +23,7 @@ def read_csv(self, *args, **kwargs):

def read_table(self, *args, **kwargs):
kwargs = self.update_kwargs(kwargs)
with tm.assert_produces_warning(FutureWarning):
return read_table(*args, **kwargs)
return read_table(*args, **kwargs)


class CParser(BaseParser):
Expand All @@ -43,7 +41,7 @@ class CParserLowMemory(CParser):

class PythonParser(BaseParser):
engine = "python"
float_precision_choices = []
float_precision_choices = [None]


@pytest.fixture
Expand Down
270 changes: 0 additions & 270 deletions pandas/tests/io/parser/python_parser_only.py

This file was deleted.

Loading