Skip to content

Commit 166f4f6

Browse files
committed
add GH num to xfer
1 parent 2a77ed2 commit 166f4f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pandas/tests/frame/test_constructors.py

+1
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,7 @@ def __len__(self, n):
948948
tm.assert_frame_equal(result, expected, check_dtype=False)
949949

950950
def test_constructor_iterable(self):
951+
# GH 21987
951952
class Iter():
952953
def __iter__(self):
953954
for i in range(10):

pandas/tests/series/test_constructors.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def test_constructor_series(self):
157157
assert_series_equal(s2, s1.sort_index())
158158

159159
def test_constructor_iterable(self):
160+
# GH 21987
160161
class Iter():
161162
def __iter__(self):
162163
for i in range(10):
@@ -167,13 +168,13 @@ def __iter__(self):
167168
assert_series_equal(result, expected)
168169

169170
def test_constructor_sequence(self):
170-
171+
# GH 21987
171172
expected = Series(list(range(10)), dtype='int64')
172173
result = Series(range(10), dtype='int64')
173174
assert_series_equal(result, expected)
174175

175176
def test_constructor_single_str(self):
176-
177+
# GH 21987
177178
expected = Series(['abc'])
178179
result = Series('abc')
179180
assert_series_equal(result, expected)

0 commit comments

Comments
 (0)