Example #1
0
def test_to_json_with_transaction(tx, expected):
    assert Web3.toJSON(tx) == expected
Example #2
0
def test_to_json(val, expected):
    assert Web3.toJSON(val) == expected