def round_trip_pickle(self, obj, path=None):
        if path is None:
            path = u(rands(10) % '__%s__.pickle')
        with ensure_clean(path) as path:
            pd.to_pickle(obj, path)
            return pd.read_pickle(path)

    # https://docs.python.org/3/library/unittest.html#deprecated-aliases
dataset/ETHPy150Open pydata/pandas/pandas/util/testing.py/TestCase.round_trip_pickle/swapped operands of `%`