diff --git a/pandas/tests/tseries/offsets/test_offsets.py b/pandas/tests/tseries/offsets/test_offsets.py index 5cc10bf00203d..ddf2c6e65b474 100644 --- a/pandas/tests/tseries/offsets/test_offsets.py +++ b/pandas/tests/tseries/offsets/test_offsets.py @@ -1,5 +1,4 @@ from datetime import date, datetime, time as dt_time, timedelta -from typing import Type import numpy as np import pytest @@ -93,7 +92,7 @@ def test_to_M8(): class Base: - _offset = None # type: Type[DateOffset] + _offset = None d = Timestamp(datetime(2008, 1, 2)) timezones = [