Skip to content

Commit 3d73bf0

Browse files
committed
no need to report invalid offset creation
1 parent 052bb17 commit 3d73bf0

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

pandas/tests/series/test_rank.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,9 @@ def test_rank_signature(self):
209209
pytest.param([np.iinfo(np.int64).min, -100, 0, 1, 9999, 100000,
210210
1e10, np.iinfo(np.int64).max],
211211
'int64',
212-
marks=pytest.mark.xfail(reason='''iNaT is equivalent to
213-
minimum value of dtype
214-
int64 pending issue
215-
#16674'''),
216-
),
212+
marks=pytest.mark.xfail(
213+
reason="iNaT is equivalent to minimum value of dtype"
214+
"int64 pending issue #16674")),
217215
([NegInfinity(), '1', 'A', 'BA', 'Ba', 'C', Infinity()],
218216
'object')
219217
])

pandas/tests/tseries/offsets/test_offsets.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ def test_apply_out_of_range(self, tz):
144144
except tslib.OutOfBoundsDatetime:
145145
raise
146146
except (ValueError, KeyError) as e:
147-
pytest.skip(
148-
"cannot create out_of_range offset: {0} {1}".format(
149-
str(self).split('.')[-1], e))
147+
pass
150148

151149

152150
class TestCommon(Base):

0 commit comments

Comments
 (0)