(self, unit)
| 797 | tm.assert_numpy_array_equal(result, expected) |
| 798 | |
| 799 | def test_order_of_appearance_dt64tz(self, unit): |
| 800 | dti = DatetimeIndex( |
| 801 | [ |
| 802 | Timestamp("20160101", tz="US/Eastern"), |
| 803 | Timestamp("20160101", tz="US/Eastern"), |
| 804 | ] |
| 805 | ).as_unit(unit) |
| 806 | result = pd.unique(dti) |
| 807 | expected = DatetimeIndex( |
| 808 | ["2016-01-01 00:00:00"], dtype=f"datetime64[{unit}, US/Eastern]", freq=None |
| 809 | ) |
| 810 | tm.assert_index_equal(result, expected) |
| 811 | |
| 812 | @pytest.mark.parametrize( |
| 813 | "arg ,expected", |
nothing calls this directly
no test coverage detected