Skip to content

Commit e0062fa

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6ba1942 commit e0062fa

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pandas/tests/dtypes/test_dtypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,6 +1103,7 @@ def test_update_dtype_errors(self, bad_dtype):
11031103
with pytest.raises(ValueError, match=msg):
11041104
dtype.update_dtype(bad_dtype)
11051105

1106+
11061107
@pytest.mark.parametrize(
11071108
"dtype", [CategoricalDtype, IntervalDtype, DatetimeTZDtype, PeriodDtype]
11081109
)

pandas/tests/extension/test_arrow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
)
5151

5252
import pandas as pd
53-
import pandas._testing as tm
5453
from pandas import Series
54+
import pandas._testing as tm
5555
from pandas.api.extensions import no_default
5656
from pandas.api.types import (
5757
is_bool_dtype,
@@ -3514,11 +3514,11 @@ def test_map_numeric_na_action():
35143514
def test_pyarrow_timestamp_tz_preserved(tz):
35153515
s = Series(
35163516
pd.to_datetime(range(5), unit="h", utc=True).tz_convert(tz),
3517-
dtype=f"timestamp[ns, tz={tz}][pyarrow]"
3517+
dtype=f"timestamp[ns, tz={tz}][pyarrow]",
35183518
)
35193519

35203520
result = s.convert_dtypes(dtype_backend="pyarrow")
35213521
assert result.dtype == s.dtype, f"Expected {s.dtype}, got {result.dtype}"
35223522

35233523
assert str(result.iloc[0].tzinfo) == str(s.iloc[0].tzinfo)
3524-
tm.assert_series_equal(result, s)
3524+
tm.assert_series_equal(result, s)

0 commit comments

Comments
 (0)