

def compare_series_dt_tz(self, result, expected, typ, version):
    if (LooseVersion(version) < '0.17.0'):
        expected = result.astype(object)
        tm.assert_series_equal(result, expected)
    else:
        tm.assert_series_equal(result, expected)

dataset/ETHPy150Open pydata/pandas/pandas/io/tests/test_packers.py TestMsgpack.compare_series_dt_tz/VarMisuse@32/44 `expected`->`result`