Skip to content

Commit a0b7a70

Browse files
remove testing of sting dtype without storage specified.
1 parent 2ec6de0 commit a0b7a70

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

pandas/conftest.py

-4
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,6 @@ def string_dtype(request):
11201120

11211121
@pytest.fixture(
11221122
params=[
1123-
"string",
11241123
"string[python]",
11251124
pytest.param(
11261125
"string[pyarrow]", marks=td.skip_if_no("pyarrow", min_version="1.0.0")
@@ -1131,7 +1130,6 @@ def nullable_string_dtype(request):
11311130
"""
11321131
Parametrized fixture for string dtypes.
11331132
1134-
* 'string'
11351133
* 'string[python]'
11361134
* 'string[pyarrow]'
11371135
"""
@@ -1179,7 +1177,6 @@ def object_dtype(request):
11791177
@pytest.fixture(
11801178
params=[
11811179
"object",
1182-
"string",
11831180
"string[python]",
11841181
pytest.param(
11851182
"string[pyarrow]", marks=td.skip_if_no("pyarrow", min_version="1.0.0")
@@ -1190,7 +1187,6 @@ def any_string_dtype(request):
11901187
"""
11911188
Parametrized fixture for string dtypes.
11921189
* 'object'
1193-
* 'string'
11941190
* 'string[python]'
11951191
* 'string[pyarrow]'
11961192
"""

pandas/tests/extension/base/casting.py

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ def test_astype_str(self, data):
4848
@pytest.mark.parametrize(
4949
"nullable_string_dtype",
5050
[
51-
"string",
5251
"string[python]",
5352
pytest.param(
5453
"string[pyarrow]", marks=td.skip_if_no("pyarrow", min_version="1.0.0")

pandas/tests/frame/methods/test_astype.py

-1
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ def test_astype_empty_dtype_dict(self):
584584
@pytest.mark.parametrize(
585585
"data, dtype",
586586
[
587-
(["x", "y", "z"], "string"),
588587
(["x", "y", "z"], "string[python]"),
589588
pytest.param(
590589
["x", "y", "z"],

pandas/tests/series/methods/test_astype.py

-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ def test_td64_series_astype_object(self):
249249
@pytest.mark.parametrize(
250250
"data, dtype",
251251
[
252-
(["x", "y", "z"], "string"),
253252
(["x", "y", "z"], "string[python]"),
254253
pytest.param(
255254
["x", "y", "z"],
@@ -387,7 +386,6 @@ def test_astype_string_to_extension_dtype_roundtrip(
387386
reason="TODO StringArray.astype() with missing values #GH40566"
388387
)
389388
request.node.add_marker(mark)
390-
391389
# GH-40351
392390
s = Series(data, dtype=dtype)
393391
result = s.astype(nullable_string_dtype).astype(dtype)

pandas/tests/series/methods/test_update.py

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def test_update_from_non_series(self, series, other, expected):
8686
@pytest.mark.parametrize(
8787
"data, other, expected, dtype",
8888
[
89-
(["a", None], [None, "b"], ["a", "b"], "string"),
9089
(["a", None], [None, "b"], ["a", "b"], "string[python]"),
9190
pytest.param(
9291
["a", None],

0 commit comments

Comments
 (0)