Skip to content

Commit a7d7699

Browse files
committed
Fix code formatting style
1 parent 3316253 commit a7d7699

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/numpy-stubs/@test/runtime/test_ctype_assumptions.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ def test_longlong_64(char: str) -> None:
2525

2626
@pytest.mark.parametrize(
2727
("name_c", "name_expect"),
28-
[
29-
("byte", "int8"),
30-
("short", "int16"),
31-
("intp", np.dtype(np.intp).name),
32-
],
28+
[("byte", "int8"), ("short", "int16"), ("intp", np.dtype(np.intp).name)],
3329
)
3430
def test_alias_integer(name_c: str, name_expect: str) -> None:
3531
signed_c: type[np.signedinteger] = getattr(np, name_c)
@@ -43,12 +39,7 @@ def test_alias_integer(name_c: str, name_expect: str) -> None:
4339

4440
@pytest.mark.parametrize(
4541
("name_c", "name_expect"),
46-
[
47-
("half", "float16"),
48-
("single", "float32"),
49-
("double", "float64"),
50-
51-
],
42+
[("half", "float16"), ("single", "float32"), ("double", "float64")],
5243
)
5344
def test_alias_floating(name_c: str, name_expect: str) -> None:
5445
floating_c: type[np.floating] = getattr(np, name_c)

0 commit comments

Comments
 (0)