From 214297d5c44fbd3080997146e20a76393e545858 Mon Sep 17 00:00:00 2001 From: ivonastojanovic <80911834+ivonastojanovic@users.noreply.github.com> Date: Sat, 20 Jul 2024 14:38:01 +0000 Subject: [PATCH] DOCS: Add docstrings to fixtures in /indexes/interval/test_constructors.py Add docstrings to fixtures in /indexes/interval/test_constructors.py file. --- pandas/tests/indexes/interval/test_constructors.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandas/tests/indexes/interval/test_constructors.py b/pandas/tests/indexes/interval/test_constructors.py index 4a9eb4dd9fc0c..8db483751438c 100644 --- a/pandas/tests/indexes/interval/test_constructors.py +++ b/pandas/tests/indexes/interval/test_constructors.py @@ -210,6 +210,7 @@ class TestFromArrays(ConstructorTests): @pytest.fixture def constructor(self): + """Fixture for IntervalIndex.from_arrays constructor""" return IntervalIndex.from_arrays def get_kwargs_from_breaks(self, breaks, closed="right"): @@ -282,6 +283,7 @@ class TestFromBreaks(ConstructorTests): @pytest.fixture def constructor(self): + """Fixture for IntervalIndex.from_breaks constructor""" return IntervalIndex.from_breaks def get_kwargs_from_breaks(self, breaks, closed="right"): @@ -320,6 +322,7 @@ class TestFromTuples(ConstructorTests): @pytest.fixture def constructor(self): + """Fixture for IntervalIndex.from_tuples constructor""" return IntervalIndex.from_tuples def get_kwargs_from_breaks(self, breaks, closed="right"): @@ -370,6 +373,7 @@ class TestClassConstructors(ConstructorTests): @pytest.fixture def constructor(self): + """Fixture for IntervalIndex class constructor""" return IntervalIndex def get_kwargs_from_breaks(self, breaks, closed="right"):