We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 322c49c commit e64ea42Copy full SHA for e64ea42
pandas/_testing/_io.py
@@ -61,6 +61,7 @@ def round_trip_pickle(
61
# Only join tmpdir with _path when _path is a string or Path-like.
62
# _path may be a ReadPickleBuffer (file-like) in which case it
63
# should be used directly for pickle operations.
64
+ temp_path: pathlib.Path | ReadPickleBuffer
65
if isinstance(_path, (str, pathlib.Path)):
66
temp_path = pathlib.Path(tmpdir) / _path
67
else:
0 commit comments