From 05bb7be913673cab77673132f8440808836f9ed1 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 dd1f3b1a9d3f3..7f63b2575382a 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 fa8b61a214cab..f27cd5273c06d 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