Skip to content

Commit 3a50508

Browse files
committed
https://github.com/pandas-dev/pandas-stubs/pull/1508#discussion_r2574690362
1 parent d6c22b7 commit 3a50508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/series/test_series_float.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_constructor() -> None:
4747

4848

4949
@pytest.mark.parametrize(("dtype", "target_dtype"), TYPE_FLOAT_ARGS.items())
50-
def test_constructor_dtype(dtype: "FloatDtypeArg", target_dtype: type) -> None:
50+
def test_constructor_dtype(dtype: FloatDtypeArg, target_dtype: type) -> None:
5151
exc = exception_on_platform(dtype)
5252
if exc:
5353
with pytest.raises(exc, match=rf"data type {dtype!r} not understood"):
@@ -101,7 +101,7 @@ def test_constructor_dtype(dtype: "FloatDtypeArg", target_dtype: type) -> None:
101101
("cast_arg", "target_type"), ASTYPE_FLOAT_ARGS.items(), ids=repr
102102
)
103103
def test_astype_float(
104-
cast_arg: "FloatDtypeArg | PandasAstypeFloatDtypeArg", target_type: type
104+
cast_arg: FloatDtypeArg | PandasAstypeFloatDtypeArg, target_type: type
105105
) -> None:
106106
s = pd.Series([1, 2, 3])
107107

0 commit comments

Comments
 (0)