Skip to content

Commit e4eb011

Browse files
committed
comment issue number under test
To allow the developers to remember why the specific test was added
1 parent 2d300cb commit e4eb011

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/series/test_constructors.py

+2
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,12 @@ def test_constructor_no_data_index_order(self):
138138
assert result.index.tolist() == ['b', 'a', 'c']
139139

140140
def test_constructor_no_data_string_type(self):
141+
# GH 22477
141142
result = pd.Series(index=[1], dtype=str)
142143
assert result.isna().all()
143144

144145
def test_constructor_single_element_string_type(self):
146+
# GH 22477
145147
result = pd.Series(13, index=[1], dtype=str)
146148
assert result.values.tolist() == ['13']
147149

0 commit comments

Comments
 (0)