mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 14:59:27 +00:00
minor cleanup: fixing or silencing flake8 errors (#2731)
* minor cleanup: fixing or silencing flake8 errors * ci: lock CMake to non-Universal version * Update .github/workflows/ci.yml Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
This commit is contained in:
committed by
GitHub
parent
30eb39ed79
commit
cecdfadc58
@@ -193,7 +193,7 @@ def test_stl_caster_vs_stl_bind(msg):
|
||||
v2 = [1, 2, 3]
|
||||
assert m.load_vector_via_caster(v2) == 6
|
||||
with pytest.raises(TypeError) as excinfo:
|
||||
cm.load_vector_via_binding(v2) == 6
|
||||
cm.load_vector_via_binding(v2)
|
||||
assert (
|
||||
msg(excinfo.value)
|
||||
== """
|
||||
|
||||
Reference in New Issue
Block a user