From eca98ae191f6ce4c33f89abdce743bd32db2ccc4 Mon Sep 17 00:00:00 2001 From: ivonastojanovic <80911834+ivonastojanovic@users.noreply.github.com> Date: Sat, 20 Jul 2024 12:45:22 +0000 Subject: [PATCH] DOCS: Add docstrings to fixtures in /io/json/test_json_table_schema_ext_dtype.py Add docstrings to fixtures in /io/json/test_json_table_schema_ext_dtype.py file. --- pandas/tests/io/json/test_json_table_schema_ext_dtype.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandas/tests/io/json/test_json_table_schema_ext_dtype.py b/pandas/tests/io/json/test_json_table_schema_ext_dtype.py index 68c7a96920533..8de289afe9ff9 100644 --- a/pandas/tests/io/json/test_json_table_schema_ext_dtype.py +++ b/pandas/tests/io/json/test_json_table_schema_ext_dtype.py @@ -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):