We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f2146 commit 70b5af4Copy full SHA for 70b5af4
pandas/util/testing.py
@@ -22,6 +22,7 @@
22
)
23
24
import pandas._libs.testing as _testing
25
+from pandas._typing import FrameOrSeries
26
from pandas.compat import _get_lzma_file, _import_lzma
27
28
from pandas.core.dtypes.common import (
@@ -53,7 +54,6 @@
53
54
Series,
55
bdate_range,
56
-from pandas._typing import FrameOrSeries
57
from pandas.core.algorithms import take_1d
58
from pandas.core.arrays import (
59
DatetimeArray,
@@ -101,7 +101,7 @@ def reset_display_options():
101
pd.reset_option("^display.", silent=True)
102
103
104
-def round_trip_pickle(obj: FrameOrSeries, path: Optional[str] = None):
+def round_trip_pickle(obj: FrameOrSeries, path: Optional[str] = None) -> FrameOrSeries:
105
"""
106
Pickle an object and then read it again.
107
0 commit comments