Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: sfc-gh-mvashishtha <[email protected]>
  • Loading branch information
sfc-gh-mvashishtha committed Sep 16, 2024
1 parent 8492483 commit b1a0ea5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/integ/modin/types/test_timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
# Copyright (c) 2012-2024 Snowflake Computing Inc. All rights reserved.
#
import datetime
import warnings

import modin.pandas as pd
import pandas as native_pd
import pytest
from pandas.errors import SettingWithCopyWarning

from tests.integ.modin.sql_counter import sql_count_checker
from tests.integ.modin.utils import (
Expand Down Expand Up @@ -111,10 +113,6 @@ def test_timedelta_not_supported():

@sql_count_checker(query_count=1)
def test_aggregation_does_not_print_internal_warning_SNOW_1664064():
import warnings

from pandas.errors import SettingWithCopyWarning

with warnings.catch_warnings():
warnings.simplefilter(category=SettingWithCopyWarning, action="error")
pd.Series(pd.Timedelta(1)).max()

0 comments on commit b1a0ea5

Please sign in to comment.