Skip to content

Commit d58a714

Browse files
style: pre-commit fixes
1 parent f6f964c commit d58a714

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

tests/test_enum.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
import pybind11_tests
1010
from pybind11_tests import enums as m
1111

12-
GRAALPY_24_2 = env.GRAALPY and getattr(pybind11_tests, "GRAALPY_VERSION_NUM", 0) >= 0x180200
12+
GRAALPY_24_2 = (
13+
env.GRAALPY and getattr(pybind11_tests, "GRAALPY_VERSION_NUM", 0) >= 0x180200
14+
)
1315

1416

1517
@pytest.mark.xfail(env.GRAALPY and not GRAALPY_24_2, reason="Fixed in GraalPy 24.2")

tests/test_operator_overloading.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
from pybind11_tests import ConstructorStats
88
from pybind11_tests import operators as m
99

10-
GRAALPY_24_2 = env.GRAALPY and getattr(pybind11_tests, "GRAALPY_VERSION_NUM", 0) >= 0x180200
10+
GRAALPY_24_2 = (
11+
env.GRAALPY and getattr(pybind11_tests, "GRAALPY_VERSION_NUM", 0) >= 0x180200
12+
)
1113

1214

1315
@pytest.mark.xfail("env.GRAALPY", reason="TODO should get fixed on GraalPy side")

0 commit comments

Comments
 (0)