Skip to content

Commit 38fc56e

Browse files
committed
MAINT: Remove remaining np.array_equal in tests
Test that uses the function call uses functionality that doesn't exist anymore in pandas.
1 parent 9cf1c97 commit 38fc56e

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

pandas/tests/internals/test_internals.py

-23
Original file line numberDiff line numberDiff line change
@@ -286,29 +286,6 @@ def test_delete(self):
286286
with pytest.raises(Exception):
287287
newb.delete(3)
288288

289-
def test_split_block_at(self):
290-
291-
# with dup column support this method was taken out
292-
# GH3679
293-
pytest.skip("skipping for now")
294-
295-
bs = list(self.fblock.split_block_at('a'))
296-
assert len(bs) == 1
297-
assert np.array_equal(bs[0].items, ['c', 'e'])
298-
299-
bs = list(self.fblock.split_block_at('c'))
300-
assert len(bs) == 2
301-
assert np.array_equal(bs[0].items, ['a'])
302-
assert np.array_equal(bs[1].items, ['e'])
303-
304-
bs = list(self.fblock.split_block_at('e'))
305-
assert len(bs) == 1
306-
assert np.array_equal(bs[0].items, ['a', 'c'])
307-
308-
# bblock = get_bool_ex(['f'])
309-
# bs = list(bblock.split_block_at('f'))
310-
# assert len(bs), 0)
311-
312289

313290
class TestDatetimeBlock(object):
314291

0 commit comments

Comments
 (0)