mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-19 22:39:09 +00:00
Enforce more ruff rules (#5922)
* Apply ruff/flake8-implicit-str-concat rule ISC003 ISC003 Explicitly concatenated string should be implicitly concatenated * Enforce ruff/flake8-implicit-str-concat rules (ISC) * Apply ruff/Perflint rule PERF102 PERF102 When using only the values of a dict use the `values()` method * Apply ruff/Perflint rule PERF401 PERF401 Use a list comprehension to create a transformed list * Enforce ruff/Perflint rules (PERF)
This commit is contained in:
committed by
GitHub
parent
1c1d01c8a1
commit
6651530963
@@ -112,8 +112,8 @@ def test_pass_unique_ptr_disowns(pass_f, rtrn_f, expected):
|
||||
pass_f(obj)
|
||||
assert str(exc_info.value) == (
|
||||
"Missing value for wrapped C++ type"
|
||||
+ " `pybind11_tests::class_sh_basic::atyp`:"
|
||||
+ " Python instance was disowned."
|
||||
" `pybind11_tests::class_sh_basic::atyp`:"
|
||||
" Python instance was disowned."
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user