Skip to content

Commit 2429ec5

Browse files
committed
TST: change test comparison to work on older numpies, #13178
1 parent 00e0f3e commit 2429ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/frame/test_convert_to.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,4 +179,4 @@ def test_to_records_with_unicode_index(self):
179179
result = DataFrame([{u'a': u'x', u'b': 'y'}]).set_index(u'a')\
180180
.to_records()
181181
expected = np.rec.array([('x', 'y')], dtype=[('a', 'O'), ('b', 'O')])
182-
tm.assert_numpy_array_equal(result, expected)
182+
tm.assert_almost_equal(result, expected)

0 commit comments

Comments
 (0)