Skip to content

Commit 4d27ef2

Browse files
author
Blake Hawkins
committed
Update test_common.py
Removed type(pd.Series[...])
1 parent a266c69 commit 4d27ef2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/dtypes/test_common.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def test_is_datetimelike():
325325
@pytest.mark.parametrize(
326326
"dtype",
327327
[
328-
type(pd.Series([1, 2])),
328+
pd.Series([1, 2]),
329329
*ALL_INT_DTYPES,
330330
*to_numpy_dtypes(ALL_INT_DTYPES),
331331
*ALL_EA_INT_DTYPES,
@@ -355,7 +355,7 @@ def test_is_not_integer_dtype(dtype):
355355
@pytest.mark.parametrize(
356356
"dtype",
357357
[
358-
type(pd.Series([1, 2])),
358+
pd.Series([1, 2]),
359359
*SIGNED_INT_DTYPES,
360360
*to_numpy_dtypes(SIGNED_INT_DTYPES),
361361
*SIGNED_EA_INT_DTYPES,
@@ -389,7 +389,7 @@ def test_is_not_signed_integer_dtype(dtype):
389389
@pytest.mark.parametrize(
390390
"dtype",
391391
[
392-
type(pd.Series([1, 2], dtype=np.uint32)),
392+
pd.Series([1, 2], dtype=np.uint32),
393393
*UNSIGNED_INT_DTYPES,
394394
*to_numpy_dtypes(UNSIGNED_INT_DTYPES),
395395
*UNSIGNED_EA_INT_DTYPES,

0 commit comments

Comments
 (0)