Skip to content

Commit 32242c0

Browse files
committed
Changed DeprecationWarning to FutureWarning
1 parent 17f4fe7 commit 32242c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/scalar/timestamp/test_constructors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_constructor_float_not_round_with_YM_unit_raises(self):
6464

6565
def test_constructor_with_empty_string(self):
6666
msg = "Passing an empty string to Timestamp"
67-
with tm.assert_produces_warning(DeprecationWarning, match=msg):
67+
with tm.assert_produces_warning(FutureWarning, match=msg):
6868
Timestamp("")
6969

7070
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)