From 7d92147666b6e940e362edb616d56038a6cd1ea0 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Fri, 28 Apr 2023 22:00:29 -0700 Subject: [PATCH] ruff v0.0.263 auto fix with new manual line breaks --- tests/test_type_caster_odr_guard_1.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/test_type_caster_odr_guard_1.py b/tests/test_type_caster_odr_guard_1.py index a88703bdd..dd25b35b7 100644 --- a/tests/test_type_caster_odr_guard_1.py +++ b/tests/test_type_caster_odr_guard_1.py @@ -39,12 +39,14 @@ def test_type_caster_odr_violation_detected_counter(): if num_violations == 0: if m.if_defined__NO_INLINE__: pytest.skip( - "type_caster_odr_violation_detected_count() == 0: %s, %s, __NO_INLINE__" - % (pybind11_tests.compiler_info, pybind11_tests.cpp_std) + f"type_caster_odr_violation_detected_count() == 0:" + f" {pybind11_tests.compiler_info}, {pybind11_tests.cpp_std}," + " __NO_INLINE__" ) if m.CUDACC is not None: pytest.skip( - "type_caster_odr_violation_detected_count() == 0: %s, %s, CUDACC = %s" - % (pybind11_tests.compiler_info, pybind11_tests.cpp_std, m.CUDACC) + f"type_caster_odr_violation_detected_count() == 0:" + f" {pybind11_tests.compiler_info}, {pybind11_tests.cpp_std}," + " CUDACC = {m.CUDACC}" ) assert num_violations == 1