File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -41,29 +41,7 @@ def test_shares_memory_numpy():
4141 assert not tm .shares_memory (arr , arr2 )
4242
4343
44- def test_shares_memory_series ():
45- arr = np .arange (10 )
46- s = pd .Series (arr )
47- assert tm .shares_memory (s , arr )
48- s2 = pd .Series (np .arange (10 ))
49- assert not tm .shares_memory (s , s2 )
50-
51-
52- def test_shares_memory_dataframe_single_block ():
53- arr = np .arange (10 )
54- df = pd .DataFrame ({"a" : arr })
55- assert tm .shares_memory (df , arr )
56- df2 = pd .DataFrame ({"a" : np .arange (10 )})
57- assert not tm .shares_memory (df , df2 )
58-
59-
6044def test_shares_memory_rangeindex ():
6145 idx = pd .RangeIndex (10 )
6246 arr = np .arange (10 )
6347 assert not tm .shares_memory (idx , arr )
64-
65-
66- def test_shares_memory_multiindex ():
67- idx = pd .MultiIndex .from_arrays ([np .arange (10 ), np .arange (10 , 20 )])
68- arr2 = np .arange (10 )
69- assert not tm .shares_memory (idx , arr2 )
You can’t perform that action at this time.
0 commit comments