Skip to content

Commit 3d0844a

Browse files
committed
TST: xfails unary neg on series period
1 parent 6667bf1 commit 3d0844a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/series/test_arithmetic.py

+2
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,8 @@ def test_ops_series_timedelta(self):
305305
result = pd.tseries.offsets.Day() + ser
306306
tm.assert_series_equal(result, expected)
307307

308+
@pytest.mark.xfail(reason="Unary negative is currently not permitted "
309+
"for objects of type TimePeriod, see GH 19297")
308310
def test_ops_series_period(self):
309311
# GH 13043
310312
ser = pd.Series([pd.Period('2015-01-01', freq='D'),

0 commit comments

Comments
 (0)