Skip to content

Commit a9b99f7

Browse files
DOCS: Add docstrings to fixtures in /io/json/test_json_table_schema_ext_dtype.py (#59287)
Add docstrings to fixtures in /io/json/test_json_table_schema_ext_dtype.py file.
1 parent dd32055 commit a9b99f7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/io/json/test_json_table_schema_ext_dtype.py

+4
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,22 @@ def test_as_json_table_type_ext_integer_dtype(self):
9797
class TestTableOrient:
9898
@pytest.fixture
9999
def da(self):
100+
"""Fixture for creating a DateArray."""
100101
return DateArray([dt.date(2021, 10, 10)])
101102

102103
@pytest.fixture
103104
def dc(self):
105+
"""Fixture for creating a DecimalArray."""
104106
return DecimalArray([decimal.Decimal(10)])
105107

106108
@pytest.fixture
107109
def sa(self):
110+
"""Fixture for creating a StringDtype array."""
108111
return array(["pandas"], dtype="string")
109112

110113
@pytest.fixture
111114
def ia(self):
115+
"""Fixture for creating an Int64Dtype array."""
112116
return array([10], dtype="Int64")
113117

114118
def test_build_date_series(self, da):

0 commit comments

Comments
 (0)