1) PyCall::PyObjectWrapper#[]= when the given index is an Enumerable that is created by Range#step
Failure/Error: LibPython::Helpers.setitem(__pyptr__, key, value)
PyCall::PyError:
<class 'TypeError'>: list indices must be integers or slices, not PyCall.ruby_object
# ./lib/pycall/pyobject_wrapper.rb:89:in `setitem'
# ./lib/pycall/pyobject_wrapper.rb:89:in `[]='
# ./spec/pycall/pyobject_wrapper_spec.rb:189:in `block (4 levels) in <module:PyCall>'
2) PyCall::PyObjectWrapper#[] when the given index is an Enumerable that is created by Range#step
Failure/Error: LibPython::Helpers.getitem(__pyptr__, key)
PyCall::PyError:
<class 'TypeError'>: list indices must be integers or slices, not PyCall.ruby_object
# ./lib/pycall/pyobject_wrapper.rb:85:in `getitem'
# ./lib/pycall/pyobject_wrapper.rb:85:in `[]'
# ./spec/pycall/pyobject_wrapper_spec.rb:162:in `block (4 levels) in <module:PyCall>'