From d43ae203be5650a3f9bbc4eaee35b6d6066bc607 Mon Sep 17 00:00:00 2001 From: Martin Winkel Date: Wed, 27 Nov 2019 22:15:30 +0100 Subject: [PATCH] Fix mypy errors for pandas\tests\series\test_operators.py (#29826) --- pandas/core/series.py | 2 ++ setup.cfg | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index dd1f3b1a9d3f32..7f63b2575382a5 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -166,6 +166,8 @@ class Series(base.IndexOpsMixin, generic.NDFrame): base.IndexOpsMixin.hasnans.func, doc=base.IndexOpsMixin.hasnans.__doc__ ) _data: SingleBlockManager + div: Callable[["Series", Any], "Series"] + rdiv: Callable[["Series", Any], "Series"] # ---------------------------------------------------------------------- # Constructors diff --git a/setup.cfg b/setup.cfg index fa8b61a214cab2..f27cd5273c06df 100644 --- a/setup.cfg +++ b/setup.cfg @@ -150,6 +150,3 @@ ignore_errors=True [mypy-pandas.tests.scalar.period.test_period] ignore_errors=True - -[mypy-pandas.tests.series.test_operators] -ignore_errors=True