Skip to content

Commit a7b85ed

Browse files
committed
CLN: Fixed mypy error in test_yqm_offsets.py
1 parent 524ce17 commit a7b85ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/tseries/offsets/test_offsets.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from datetime import date, datetime, time as dt_time, timedelta
2+
from typing import Type
23

34
import numpy as np
45
import pytest
@@ -92,7 +93,7 @@ def test_to_M8():
9293

9394

9495
class Base:
95-
_offset = None
96+
_offset = None # type: Type[DateOffset]
9697
d = Timestamp(datetime(2008, 1, 2))
9798

9899
timezones = [

0 commit comments

Comments
 (0)