diff --git a/pandas/tests/tseries/offsets/test_offsets.py b/pandas/tests/tseries/offsets/test_offsets.py index ddf2c6e65b4749..5cc10bf00203d8 100644 --- a/pandas/tests/tseries/offsets/test_offsets.py +++ b/pandas/tests/tseries/offsets/test_offsets.py @@ -1,4 +1,5 @@ from datetime import date, datetime, time as dt_time, timedelta +from typing import Type import numpy as np import pytest @@ -92,7 +93,7 @@ def test_to_M8(): class Base: - _offset = None + _offset = None # type: Type[DateOffset] d = Timestamp(datetime(2008, 1, 2)) timezones = [ diff --git a/setup.cfg b/setup.cfg index c9ba13443e97c3..766099a9d75212 100644 --- a/setup.cfg +++ b/setup.cfg @@ -186,6 +186,3 @@ ignore_errors=True [mypy-pandas.tests.tseries.offsets.test_offsets] ignore_errors=True - -[mypy-pandas.tests.tseries.offsets.test_yqm_offsets] -ignore_errors=True