Skip to content

Commit 2f72baf

Browse files
GH1055 TypeAlias Feedback
1 parent fcea20e commit 2f72baf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/test_api_typing.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,16 @@
2424
Window,
2525
)
2626
import pytest
27-
from typing_extensions import assert_type
27+
from typing_extensions import (
28+
TypeAlias,
29+
assert_type,
30+
)
2831

2932
from tests import check
3033

3134
from pandas.io.json._json import read_json
3235

33-
ResamplerGroupBy = (
36+
ResamplerGroupBy: TypeAlias = (
3437
DatetimeIndexResamplerGroupby
3538
| PeriodIndexResamplerGroupby
3639
| TimedeltaIndexResamplerGroupby

0 commit comments

Comments
 (0)