Skip to content

Commit 29fddab

Browse files
committed
Updated qcut test formatting
1 parent 48f21c6 commit 29fddab

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

pandas/tests/reshape/test_qcut.py

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,17 +303,20 @@ def test_qcut_nullable_integer(q, any_nullable_int_dtype):
303303
tm.assert_categorical_equal(result, expected)
304304

305305

306-
@pytest.mark.parametrize("Data_type,Data_type_string",
307-
[
308-
(pd.Float64Dtype(),"Float64Dtype"),
309-
(pd.Int64Dtype(),"Int64Dtype")
310-
]
311-
)
306+
@pytest.mark.parametrize(
307+
"Data_type,Data_type_string",
308+
[
309+
(pd.Float64Dtype(),"Float64Dtype"),
310+
(pd.Int64Dtype(),"Int64Dtype")
311+
]
312+
)
312313
def test_qcut_numeric_dtype(Data_type,Data_type_string):
313314
series = pd.Series([1.0, 2.0, 3.0, 4.0], dtype=Data_type)
314315

315316
try:
316317
pd.qcut(series,2)
317318
except:
318-
Fail_string=Data_type_string+" is not supported"
319-
pytest.fail(msg=Fail_string )
319+
Fail_string = Data_type_string + " is not supported"
320+
pytest.fail( msg = Fail_string )
321+
322+

0 commit comments

Comments
 (0)