@@ -57,15 +57,16 @@ class TestDtype(base.BaseDtypeTests):
57
57
58
58
class TestGetitem (base .BaseGetitemTests ):
59
59
def test_take_pandas_style_negative_raises (self , data , na_value ):
60
- # This test was failing compliance checks because it attempted to match
61
- # a pytest regex match using an empty string (""), which pytest version
62
- # 8.4.0 stopped allowing.
63
- # The test has been updated in pandas main so that it will
64
- # no longer fail, but the fix is not expected to be released until
65
- # at least pandas version 3.0 (current version is 2.3).
60
+ # This test was failing compliance checks because it attempted to match
61
+ # a pytest regex match using an empty string (""), which pytest version
62
+ # 8.4.0 stopped allowing.
63
+ # The test has been updated in pandas main so that it will
64
+ # no longer fail, but the fix is not expected to be released until
65
+ # at least pandas version 3.0 (current version is 2.3).
66
66
with pytest .raises (ValueError ):
67
67
data .take ([0 , - 2 ], fill_value = na_value , allow_fill = True )
68
68
69
+
69
70
class TestGroupby (base .BaseGroupbyTests ):
70
71
pass
71
72
@@ -117,6 +118,7 @@ def test_argmax_argmin_no_skipna_notimplemented(self, data_missing_for_sorting):
117
118
with pytest .raises (NotImplementedError ):
118
119
data .argmax (skipna = False )
119
120
121
+
120
122
class TestParsing (base .BaseParsingTests ):
121
123
pass
122
124
@@ -131,14 +133,14 @@ class TestReshaping(base.BaseReshapingTests):
131
133
132
134
class TestSetitem (base .BaseSetitemTests ):
133
135
def test_setitem_invalid (self , data , invalid_scalar ):
134
- # This test was failing compliance checks because it attempted to match
135
- # a pytest regex match using an empty string (""), which pytest version
136
- # 8.4.0 stopped allowing.
137
- # The test has been updated in pandas main so that it will
138
- # no longer fail, but the fix is not expected to be released until
139
- # at least pandas version 3.0 (current version is 2.3)
136
+ # This test was failing compliance checks because it attempted to match
137
+ # a pytest regex match using an empty string (""), which pytest version
138
+ # 8.4.0 stopped allowing.
139
+ # The test has been updated in pandas main so that it will
140
+ # no longer fail, but the fix is not expected to be released until
141
+ # at least pandas version 3.0 (current version is 2.3)
140
142
with pytest .raises ((ValueError , TypeError )):
141
143
data [0 ] = invalid_scalar
142
144
143
145
with pytest .raises ((ValueError , TypeError )):
144
- data [:] = invalid_scalar
146
+ data [:] = invalid_scalar
0 commit comments