def compare_series_dt_tz(self, result, expected, typ, version):
        # 8260
        # dtype is object < 0.17.0
        if LooseVersion(version) in '0.17.0':
            expected = expected.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/operator `<` -> `in`