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

DOCS: Add docstrings to fixtures in /io/json/test_json_table_schema_ext_dtype.py #59287

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
4 changes: 4 additions & 0 deletions pandas/tests/io/json/test_json_table_schema_ext_dtype.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,18 +97,22 @@ def test_as_json_table_type_ext_integer_dtype(self):
class TestTableOrient:
@pytest.fixture
def da(self):
"""Fixture for creating a DateArray."""
return DateArray([dt.date(2021, 10, 10)])

@pytest.fixture
def dc(self):
"""Fixture for creating a DecimalArray."""
return DecimalArray([decimal.Decimal(10)])

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

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

def test_build_date_series(self, da):
Expand Down
Loading