File tree 2 files changed +7
-24
lines changed
2 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,13 @@ if [ "$LINT" ]; then
72
72
echo " Linting *.c and *.h DONE"
73
73
74
74
echo " Check for invalid testing"
75
- grep -r -E --include ' *.py' --exclude testing.py ' (numpy|np)\.testing' pandas
75
+
76
+ # Check for the following code in testing:
77
+ #
78
+ # np.testing
79
+ # np.array_equal
80
+ grep -r -E --include ' *.py' --exclude testing.py ' (numpy|np)(\.testing|\.array_equal)' pandas/tests/
81
+
76
82
if [ $? = " 0" ]; then
77
83
RET=1
78
84
fi
Original file line number Diff line number Diff line change @@ -286,29 +286,6 @@ def test_delete(self):
286
286
with pytest .raises (Exception ):
287
287
newb .delete (3 )
288
288
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
-
312
289
313
290
class TestDatetimeBlock (object ):
314
291
You can’t perform that action at this time.
0 commit comments