File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,16 @@ def test_constructor_single_element_string_type(self):
147
147
result = pd .Series (13 , index = [1 ], dtype = str )
148
148
assert result .values .tolist () == ['13' ]
149
149
150
- def test_constructor_string_series_string_type (self ):
150
+ def test_constructor_string_element_string_type (self ):
151
151
# GH 22477
152
152
result = pd .Series ('entry' , index = [1 ], dtype = str )
153
153
assert result .values .tolist () == ['entry' ]
154
154
155
+ def test_constructor_unicode_element_string_type (self ):
156
+ # GH 22477
157
+ result = pd .Series (u'ѐ' , index = [1 ], dtype = str )
158
+ assert result .values .tolist () == [u'ѐ' ]
159
+
155
160
def test_constructor_dtype_str_na_values (self , string_dtype ):
156
161
# https://github.com/pandas-dev/pandas/issues/21083
157
162
ser = Series (['x' , None ], dtype = string_dtype )
You can’t perform that action at this time.
0 commit comments