Skip to content

Commit 75786bd

Browse files
committed
TST: Remove new test.
Needs to be rewritten to check formatting not construction.
1 parent a1b5dd2 commit 75786bd

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

pandas/tests/series/test_constructors.py

-9
Original file line numberDiff line numberDiff line change
@@ -1493,15 +1493,6 @@ def test_constructor_cast_object(self, index):
14931493
exp = Series(index).astype(object)
14941494
tm.assert_series_equal(s, exp)
14951495

1496-
def test_constructor_with_float_cast_object(self):
1497-
# GH#35603
1498-
# check float format when cast to object
1499-
ser = Series([1.0]).astype(object)
1500-
val = ser.iloc[0]
1501-
assert ser.dtype == "object"
1502-
assert isinstance(val, float)
1503-
assert "." in str(val)
1504-
15051496
@pytest.mark.parametrize("dtype", [np.datetime64, np.timedelta64])
15061497
def test_constructor_generic_timestamp_no_frequency(self, dtype, request):
15071498
# see gh-15524, gh-15987

0 commit comments

Comments
 (0)