Skip to content

Commit e5c1faf

Browse files
committed
1 parent 3a27432 commit e5c1faf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/scalars/test_scalars.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,8 @@ def test_interval_math() -> None:
293293
if TYPE_CHECKING_INVALID_USAGE:
294294
_i = interval_i - pd.Interval(1, 2) # type: ignore[type-var] # pyright: ignore[reportOperatorIssue,reportUnknownVariableType]
295295
_f = interval_f - pd.Interval(1.0, 2.0) # type: ignore[operator] # pyright: ignore[reportOperatorIssue,reportUnknownVariableType]
296+
# TODO: psf/black#4880
297+
# fmt: off
296298
_ts = ( # pyright: ignore[reportOperatorIssue,reportUnknownVariableType]
297299
interval_ts
298300
- pd.Interval( # type: ignore[operator]
@@ -305,6 +307,7 @@ def test_interval_math() -> None:
305307
pd.Timedelta(1, "ns"), pd.Timedelta(2, "ns")
306308
)
307309
)
310+
# fmt: on
308311

309312

310313
def test_interval_cmp() -> None:

0 commit comments

Comments
 (0)