From fcf0c8a44548e687b6ce6226028227db60ad0798 Mon Sep 17 00:00:00 2001 From: Patrick Hoefler Date: Thu, 8 Sep 2022 18:25:59 +0200 Subject: [PATCH] Revert FutureWarning check --- pandas/tests/frame/methods/test_update.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandas/tests/frame/methods/test_update.py b/pandas/tests/frame/methods/test_update.py index af7a13f6adb5a..a35530100a425 100644 --- a/pandas/tests/frame/methods/test_update.py +++ b/pandas/tests/frame/methods/test_update.py @@ -136,8 +136,7 @@ def test_update_from_non_df(self): def test_update_datetime_tz(self): # GH 25807 result = DataFrame([pd.Timestamp("2019", tz="UTC")]) - with tm.assert_produces_warning(FutureWarning): - result.update(result) + result.update(result) expected = DataFrame([pd.Timestamp("2019", tz="UTC")]) tm.assert_frame_equal(result, expected)