Skip to content

Commit 70b5af4

Browse files
author
MomIsBestFriend
committed
@WillAyd suggestions
1 parent d6f2146 commit 70b5af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/util/testing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
)
2323

2424
import pandas._libs.testing as _testing
25+
from pandas._typing import FrameOrSeries
2526
from pandas.compat import _get_lzma_file, _import_lzma
2627

2728
from pandas.core.dtypes.common import (
@@ -53,7 +54,6 @@
5354
Series,
5455
bdate_range,
5556
)
56-
from pandas._typing import FrameOrSeries
5757
from pandas.core.algorithms import take_1d
5858
from pandas.core.arrays import (
5959
DatetimeArray,
@@ -101,7 +101,7 @@ def reset_display_options():
101101
pd.reset_option("^display.", silent=True)
102102

103103

104-
def round_trip_pickle(obj: FrameOrSeries, path: Optional[str] = None):
104+
def round_trip_pickle(obj: FrameOrSeries, path: Optional[str] = None) -> FrameOrSeries:
105105
"""
106106
Pickle an object and then read it again.
107107

0 commit comments

Comments
 (0)