xpass -> skip · pandas-dev/pandas@c9d6e89 (original) (raw)

`@@ -131,8 +131,7 @@ def test_custom_asserts(self):

`

131

131

``

132

132

`class TestConstructors(BaseJSON, base.BaseConstructorsTests):

`

133

133

``

134

``

`-

TODO: Should this be pytest.mark.skip?

`

135

``

`-

@pytest.mark.xfail(reason="not implemented constructor from dtype")

`

``

134

`+

@pytest.mark.skip(reason="not implemented constructor from dtype")

`

136

135

`def test_from_dtype(self, data):

`

137

136

`# construct from our dtype & string dtype

`

138

137

`pass

`

`@@ -147,13 +146,11 @@ class TestGetitem(BaseJSON, base.BaseGetitemTests):

`

147

146

``

148

147

``

149

148

`class TestMissing(BaseJSON, base.BaseMissingTests):

`

150

``

`-

TODO: Should this be pytest.mark.skip?

`

151

``

`-

@pytest.mark.xfail(reason="Setting a dict as a scalar")

`

``

149

`+

@pytest.mark.skip(reason="Setting a dict as a scalar")

`

152

150

`def test_fillna_series(self):

`

153

151

`"""We treat dictionaries as a mapping in fillna, not a scalar."""

`

154

152

``

155

``

`-

TODO: Should this be pytest.mark.skip?

`

156

``

`-

@pytest.mark.xfail(reason="Setting a dict as a scalar")

`

``

153

`+

@pytest.mark.skip(reason="Setting a dict as a scalar")

`

157

154

`def test_fillna_frame(self):

`

158

155

`"""We treat dictionaries as a mapping in fillna, not a scalar."""

`

159

156

``

`@@ -204,8 +201,7 @@ def test_combine_add(self, data_repeated):

`

204

201

``

205

202

``

206

203

`class TestCasting(BaseJSON, base.BaseCastingTests):

`

207

``

`-

TODO: Should this be pytest.mark.skip?

`

208

``

`-

@pytest.mark.xfail(reason="failing on np.array(self, dtype=str)")

`

``

204

`+

@pytest.mark.skip(reason="failing on np.array(self, dtype=str)")

`

209

205

`def test_astype_str(self):

`

210

206

`"""This currently fails in NumPy on np.array(self, dtype=str) with

`

211

207

``