Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ test_box_slice
Method
test_box_slice
test/test_box.py:1665–1667 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1663
assert box.e.f[1] == 2
1664
1665
def
test_box_slice(self):
1666
data = Box(qwe=123, asd=234, q=1)
1667
assert data[:-1] == Box(qwe=123, asd=234)
1668
1669
def
test_box_kwargs_should_not_be_included(self):
1670
params = {
Callers
nothing calls this directly
Calls
1
Box
Class · 0.90
Tested by
no test coverage detected