File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ class TestSeriesConstructors:
45
45
(lambda : Series ({}), True ),
46
46
(lambda : Series (()), False ), # creates a RangeIndex
47
47
(lambda : Series ([]), False ), # creates a RangeIndex
48
- (lambda : Series ((x for x in [])), False ), # creates a RangeIndex
48
+ (lambda : Series ((_ for _ in [])), False ), # creates a RangeIndex
49
49
(lambda : Series (data = None ), True ),
50
50
(lambda : Series (data = {}), True ),
51
51
(lambda : Series (data = ()), False ), # creates a RangeIndex
52
52
(lambda : Series (data = []), False ), # creates a RangeIndex
53
- (lambda : Series (data = (x for x in [])), False ), # creates a RangeIndex
53
+ (lambda : Series (data = (_ for _ in [])), False ), # creates a RangeIndex
54
54
],
55
55
)
56
56
def test_empty_constructor (self , constructor , check_index_type ):
Original file line number Diff line number Diff line change @@ -187,9 +187,6 @@ ignore_errors=True
187
187
[mypy-pandas.tests.indexing.test_loc]
188
188
ignore_errors =True
189
189
190
- [mypy-pandas.tests.series.test_constructors]
191
- ignore_errors =True
192
-
193
190
[mypy-pandas.tests.series.test_operators]
194
191
ignore_errors =True
195
192
You can’t perform that action at this time.
0 commit comments