mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-22 08:29:23 +00:00
ruff v0.0.263 auto fix with new manual line breaks
This commit is contained in:
parent
ed4317e790
commit
7d92147666
@ -39,12 +39,14 @@ def test_type_caster_odr_violation_detected_counter():
|
|||||||
if num_violations == 0:
|
if num_violations == 0:
|
||||||
if m.if_defined__NO_INLINE__:
|
if m.if_defined__NO_INLINE__:
|
||||||
pytest.skip(
|
pytest.skip(
|
||||||
"type_caster_odr_violation_detected_count() == 0: %s, %s, __NO_INLINE__"
|
f"type_caster_odr_violation_detected_count() == 0:"
|
||||||
% (pybind11_tests.compiler_info, pybind11_tests.cpp_std)
|
f" {pybind11_tests.compiler_info}, {pybind11_tests.cpp_std},"
|
||||||
|
" __NO_INLINE__"
|
||||||
)
|
)
|
||||||
if m.CUDACC is not None:
|
if m.CUDACC is not None:
|
||||||
pytest.skip(
|
pytest.skip(
|
||||||
"type_caster_odr_violation_detected_count() == 0: %s, %s, CUDACC = %s"
|
f"type_caster_odr_violation_detected_count() == 0:"
|
||||||
% (pybind11_tests.compiler_info, pybind11_tests.cpp_std, m.CUDACC)
|
f" {pybind11_tests.compiler_info}, {pybind11_tests.cpp_std},"
|
||||||
|
" CUDACC = {m.CUDACC}"
|
||||||
)
|
)
|
||||||
assert num_violations == 1
|
assert num_violations == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user