File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
pandas/tests/series/indexing Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -930,13 +930,6 @@ def test_uint_drop(any_int_dtype):
930930 tm .assert_series_equal (series , expected )
931931
932932
933- def test_head_tail (test_data ):
934- assert_series_equal (test_data .series .head (), test_data .series [:5 ])
935- assert_series_equal (test_data .series .head (0 ), test_data .series [0 :0 ])
936- assert_series_equal (test_data .series .tail (), test_data .series [- 5 :])
937- assert_series_equal (test_data .series .tail (0 ), test_data .series [0 :0 ])
938-
939-
940933def test_index_map ():
941934 # see GH20990
942935 count = 6
@@ -950,12 +943,3 @@ def test_index_map():
950943 b .index = a .index .map (lambda x : (x .year , x .month ))
951944 except ValueError :
952945 pytest .fail ("Unexpected ValueError" )
953-
954-
955- def test_uint_drop (any_int_dtype ):
956- # see GH18311
957- # assigning series.loc[0] = 4 changed series.dtype to int
958- series = pd .Series ([1 , 2 , 3 ], dtype = any_int_dtype )
959- series .loc [0 ] = 4
960- expected = pd .Series ([4 , 2 , 3 ], dtype = any_int_dtype )
961- tm .assert_series_equal (series , expected )
You can’t perform that action at this time.
0 commit comments