Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ Two
Class
Two
test/test_box_list.py:795–797 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
793
794
def
test_rmul_and_index_protocol(self):
795
class
Two:
796
def
__index__(self):
797
return
2
798
799
bl = BoxList([{
"a"
: 1}])
800
for
result in (2 * bl, bl * Two()):
Callers
1
test_rmul_and_index_protocol
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_rmul_and_index_protocol
Method · 0.68