File tree 1 file changed +15
-0
lines changed
1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -46,11 +46,17 @@ class PythonParser(BaseParser):
46
46
47
47
@pytest .fixture
48
48
def csv_dir_path (datapath ):
49
+ """
50
+ The directory path to the data files needed for parser tests.
51
+ """
49
52
return datapath ("io" , "parser" , "data" )
50
53
51
54
52
55
@pytest .fixture
53
56
def csv1 (csv_dir_path ):
57
+ """
58
+ The path to the data file "test1.csv" needed for parser tests.
59
+ """
54
60
return os .path .join (csv_dir_path , "test1.csv" )
55
61
56
62
@@ -69,14 +75,23 @@ def csv1(csv_dir_path):
69
75
70
76
@pytest .fixture (params = _all_parsers , ids = _all_parser_ids )
71
77
def all_parsers (request ):
78
+ """
79
+ Fixture all of the CSV parsers.
80
+ """
72
81
return request .param
73
82
74
83
75
84
@pytest .fixture (params = _c_parsers_only , ids = _c_parser_ids )
76
85
def c_parser_only (request ):
86
+ """
87
+ Fixture all of the CSV parsers using the C engine.
88
+ """
77
89
return request .param
78
90
79
91
80
92
@pytest .fixture (params = _py_parsers_only , ids = _py_parser_ids )
81
93
def python_parser_only (request ):
94
+ """
95
+ Fixture all of the CSV parsers using the Python engine.
96
+ """
82
97
return request .param
You can’t perform that action at this time.
0 commit comments