Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/petertodd/python-bitcoinlib
/ load_test_vectors
Function
load_test_vectors
bitcoin/tests/test_base58.py:22–25 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
20
21
22
def
load_test_vectors(name):
23
with
open(os.path.dirname(__file__) +
'/data/'
+ name,
'r'
)
as
fd:
24
for
testcase in json.load(fd):
25
yield
testcase
26
27
class
Test_base58(unittest.TestCase):
28
def
test_encode_decode(self):
Callers
1
test_encode_decode
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected