Skip to content

Commit 7c00808

Browse files
clean-up
1 parent 6e8d76a commit 7c00808

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

pandas/core/series.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,6 @@ def __init__(
500500
elif copy:
501501
data = data.copy()
502502
else:
503-
# breakpoint()
504503
data = sanitize_array(data, index, dtype, copy)
505504
data = SingleBlockManager.from_array(data, index, refs=refs)
506505

pandas/tests/series/test_constructors.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2117,11 +2117,11 @@ def test_series_string_inference_storage_definition(self):
21172117
# but after PDEP-14 (string dtype), it was decided to keep dtype="string"
21182118
# returning the NA string dtype, so expected is changed from
21192119
# "string[pyarrow_numpy]" to "string[pyarrow]"
2120-
# pytest.importorskip("pyarrow")
2121-
# expected = Series(["a", "b"], dtype="string[python]")
2122-
# with pd.option_context("future.infer_string", True):
2123-
# result = Series(["a", "b"], dtype="string")
2124-
# tm.assert_series_equal(result, expected)
2120+
pytest.importorskip("pyarrow")
2121+
expected = Series(["a", "b"], dtype="string[python]")
2122+
with pd.option_context("future.infer_string", True):
2123+
result = Series(["a", "b"], dtype="string")
2124+
tm.assert_series_equal(result, expected)
21252125

21262126
expected = Series(["a", "b"], dtype=pd.StringDtype(na_value=np.nan))
21272127
with pd.option_context("future.infer_string", True):

0 commit comments

Comments
 (0)