Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions pandas/tests/extension/decimal/test_decimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ def test_compare_array(self, data, comparison_op):
class DecimalArrayWithoutFromSequence(DecimalArray):
"""Helper class for testing error handling in _from_sequence."""

@classmethod
def _from_sequence(cls, scalars, dtype=None, copy=False):
raise KeyError("For the test")

Expand Down
1 change: 1 addition & 0 deletions pandas/tests/io/test_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -1612,6 +1612,7 @@ class _TestSQLAlchemy(SQLAlchemyMixIn, PandasSQLTest):

flavor: str

@classmethod
@pytest.fixture(autouse=True, scope="class")
def setup_class(cls):
cls.setup_import()
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/scalar/period/test_period.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ def test_period_deprecated_freq(self):
assert isinstance(p1, Period)
assert isinstance(p2, Period)

@staticmethod
def _period_constructor(bound, offset):
return Period(
year=bound.year,
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ disable = [
"no-member",
"no-method-argument",
"no-name-in-module",
"no-self-argument",
"no-value-for-parameter",
"non-iterator-returned",
"not-an-iterable",
Expand Down