Skip to content
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

REF/TST: Add more pytest idiom to parsers tests #23761

Merged
merged 1 commit into from Nov 18, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
119 changes: 0 additions & 119 deletions pandas/tests/io/parser/comment.py

This file was deleted.

136 changes: 0 additions & 136 deletions pandas/tests/io/parser/compression.py

This file was deleted.

7 changes: 7 additions & 0 deletions pandas/tests/io/parser/conftest.py
@@ -1,3 +1,5 @@
import os

import pytest

from pandas import read_csv, read_table
Expand Down Expand Up @@ -49,6 +51,11 @@ def csv_dir_path(datapath):
return datapath("io", "parser", "data")


@pytest.fixture
def csv1(csv_dir_path):
return os.path.join(csv_dir_path, "test1.csv")


_cParserHighMemory = CParserHighMemory()
_cParserLowMemory = CParserLowMemory()
_pythonParser = PythonParser()
Expand Down