Created
November 29, 2018 16:51
-
-
Save feuGeneA/27d074b4dc3517fc798d5db2c4480af8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gene@precision5510:~/web3.py$ tox -epy36-core tests/core/contracts/test_contract_call_interface.py -- -k test_call_with_no_arguments | |
py36-core create: /home/gene/web3.py/.tox/py36-core | |
py36-core installdeps: .[dev] | |
py36-core develop-inst: /home/gene/web3.py | |
py36-core installed: alabaster==0.7.12,apipkg==1.5,argh==0.26.2,asn1crypto==0.24.0,atomicwrites==1.2.1,attrdict==2.0.0,attrs==18.2.0,Babel==2.6.0,bumpversion==0.5.3,certifi==2018.10.15,cffi==1.11.5,chardet==3.0.4,Click==7.0,colorama==0.4.1,configparser==3.5.0,contextlib2==0.5.5,cryptography==2.4.2,cytoolz==0.9.0.1,docopt==0.6.2,docutils==0.14,eth-abi==1.2.2,eth-account==0.3.0,eth-bloom==1.0.1,eth-hash==0.2.0,eth-keyfile==0.5.1,eth-keys==0.2.0b3,eth-rlp==0.1.2,eth-tester==0.1.0b32,eth-typing==1.3.0,eth-utils==1.3.0,ethtoken==0.0.1a4,execnet==1.5.0,filelock==3.0.10,flake8==3.4.1,flaky==3.4.0,hexbytes==0.1.0,hypothesis==3.82.1,idna==2.7,imagesize==1.1.0,isort==4.3.4,Jinja2==2.10,lru-dict==1.1.6,MarkupSafe==1.1.0,mccabe==0.6.1,mock==2.0.0,more-itertools==4.3.0,packaging==18.0,parsimonious==0.8.1,pathtools==0.1.2,pbr==5.1.1,pluggy==0.8.0,py==1.7.0,py-ecc==1.4.3,py-evm==0.2.0a32,py-geth==2.0.1,py-solc==3.2.0,pycodestyle==2.3.1,pycparser==2.19,pycryptodome==3.7.2,pyethash==0.1.27,pyflakes==1.5.0,Pygments==2.3.0,pyparsing==2.3.0,pytest==4.0.1,pytest-forked==0.2,pytest-mock==1.10.0,pytest-pythonpath==0.7.3,pytest-watch==4.2.0,pytest-xdist==1.24.1,pytz==2018.7,PyYAML==3.13,requests==2.20.1,rlp==1.0.3,semantic-version==2.6.0,six==1.11.0,snowballstemmer==1.2.1,Sphinx==1.8.2,sphinx-better-theme==0.1.5,sphinx-rtd-theme==0.4.2,sphinxcontrib-websupport==1.1.0,toml==0.10.0,toolz==0.9.0,toposort==1.5,tox==3.5.3,tqdm==4.28.1,trie==1.3.8,urllib3==1.24.1,virtualenv==16.1.0,watchdog==0.9.0,-e git+https://github.com/ethereum/web3.py.git@835478f7abc5da8a9ff51f543a2b6d084cb804d7#egg=web3,websockets==7.0,when-changed==0.3.0 | |
py36-core runtests: PYTHONHASHSEED='1689564074' | |
py36-core runtests: commands[0] | pytest tests/core/contracts/test_contract_call_interface.py -k test_call_with_no_arguments | |
========================================================================================= test session starts ========================================================================================== | |
platform linux -- Python 3.6.6, pytest-4.0.1, py-1.7.0, pluggy-0.8.0 -- /home/gene/web3.py/.tox/py36-core/bin/python3.6 | |
cachedir: .pytest_cache | |
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/gene/web3.py/.hypothesis/examples') | |
rootdir: /home/gene/web3.py, inifile: pytest.ini | |
plugins: xdist-1.24.1, pythonpath-0.7.3, mock-1.10.0, forked-0.2, hypothesis-3.82.1, flaky-3.4.0 | |
collected 222 items / 218 deselected | |
tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[<lambda>-func_first] ERROR [ 25%] | |
tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[<lambda>-func_last] ERROR [ 50%] | |
tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[address_conversion_func1-func_first] ERROR [ 75%] | |
tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[address_conversion_func1-func_last] ERROR [100%] | |
================================================================================================ ERRORS ================================================================================================ | |
__________________________________________________________________ ERROR at setup of test_call_with_no_arguments[<lambda>-func_first] __________________________________________________________________ | |
web3 = <web3.main.Web3 object at 0x7fa4a456c400>, MathContract = <class 'web3._utils.datatypes.Contract'>, address_conversion_func = <function <lambda> at 0x7fa4a4ef7c80> | |
@pytest.fixture() | |
def math_contract(web3, MathContract, address_conversion_func): | |
> return deploy(web3, MathContract, address_conversion_func) | |
MathContract = <class 'web3._utils.datatypes.Contract'> | |
address_conversion_func = <function <lambda> at 0x7fa4a4ef7c80> | |
web3 = <web3.main.Web3 object at 0x7fa4a456c400> | |
tests/core/contracts/test_contract_call_interface.py:54: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/core/contracts/test_contract_call_interface.py:43: in deploy | |
assert len(web3.eth.getCode(contract.address)) > 0 | |
web3/eth.py:130: in getCode | |
[account, block_identifier], | |
web3/manager.py:109: in request_blocking | |
response = self._make_request(method, params) | |
web3/manager.py:92: in _make_request | |
return request_func(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
web3/middleware/gas_price_strategy.py:18: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/attrdict.py:18: in middleware | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/normalize_errors.py:9: in middleware | |
result = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/middleware.py:326: in middleware | |
return make_request(method, params) | |
web3/middleware/fixture.py:12: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/main.py:46: in make_request | |
response = delegator(self.ethereum_tester, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/providers/eth_tester/defaults.py:36: in call_eth_tester | |
return getattr(eth_tester, fn_name)(*fn_args, **fn_kwargs) | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/main.py:243: in get_code | |
self.validator.validate_inbound_block_number(block_number) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
value = None | |
def validate_block_number(value): | |
error_message = ( | |
"Block number must be a positive integer or one of the strings " | |
"'latest', 'earliest', or 'pending'. Got: {0}".format(value) | |
) | |
if is_string(value): | |
validate_text(value) | |
if value not in BLOCK_NUMBER_META_VALUES: | |
raise ValidationError(error_message) | |
elif not is_integer(value) or is_boolean(value): | |
> raise ValidationError(error_message) | |
E eth_tester.exceptions.ValidationError: Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None | |
error_message = "Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None" | |
value = None | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/validation/inbound.py:81: ValidationError | |
__________________________________________________________________ ERROR at setup of test_call_with_no_arguments[<lambda>-func_last] ___________________________________________________________________ | |
web3 = <web3.main.Web3 object at 0x7fa4a43e6828>, MathContract = <class 'web3._utils.datatypes.Contract'>, address_conversion_func = <function <lambda> at 0x7fa4a4ef7c80> | |
@pytest.fixture() | |
def math_contract(web3, MathContract, address_conversion_func): | |
> return deploy(web3, MathContract, address_conversion_func) | |
MathContract = <class 'web3._utils.datatypes.Contract'> | |
address_conversion_func = <function <lambda> at 0x7fa4a4ef7c80> | |
web3 = <web3.main.Web3 object at 0x7fa4a43e6828> | |
tests/core/contracts/test_contract_call_interface.py:54: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/core/contracts/test_contract_call_interface.py:43: in deploy | |
assert len(web3.eth.getCode(contract.address)) > 0 | |
web3/eth.py:130: in getCode | |
[account, block_identifier], | |
web3/manager.py:109: in request_blocking | |
response = self._make_request(method, params) | |
web3/manager.py:92: in _make_request | |
return request_func(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
web3/middleware/gas_price_strategy.py:18: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/attrdict.py:18: in middleware | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/normalize_errors.py:9: in middleware | |
result = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/middleware.py:326: in middleware | |
return make_request(method, params) | |
web3/middleware/fixture.py:12: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/main.py:46: in make_request | |
response = delegator(self.ethereum_tester, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/providers/eth_tester/defaults.py:36: in call_eth_tester | |
return getattr(eth_tester, fn_name)(*fn_args, **fn_kwargs) | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/main.py:243: in get_code | |
self.validator.validate_inbound_block_number(block_number) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
value = None | |
def validate_block_number(value): | |
error_message = ( | |
"Block number must be a positive integer or one of the strings " | |
"'latest', 'earliest', or 'pending'. Got: {0}".format(value) | |
) | |
if is_string(value): | |
validate_text(value) | |
if value not in BLOCK_NUMBER_META_VALUES: | |
raise ValidationError(error_message) | |
elif not is_integer(value) or is_boolean(value): | |
> raise ValidationError(error_message) | |
E eth_tester.exceptions.ValidationError: Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None | |
error_message = "Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None" | |
value = None | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/validation/inbound.py:81: ValidationError | |
__________________________________________________________ ERROR at setup of test_call_with_no_arguments[address_conversion_func1-func_first] __________________________________________________________ | |
web3 = <web3.main.Web3 object at 0x7fa4a42cab38>, MathContract = <class 'web3._utils.datatypes.Contract'>, address_conversion_func = <cyfunction identity at 0x7fa4a9ff83e0> | |
@pytest.fixture() | |
def math_contract(web3, MathContract, address_conversion_func): | |
> return deploy(web3, MathContract, address_conversion_func) | |
MathContract = <class 'web3._utils.datatypes.Contract'> | |
address_conversion_func = <cyfunction identity at 0x7fa4a9ff83e0> | |
web3 = <web3.main.Web3 object at 0x7fa4a42cab38> | |
tests/core/contracts/test_contract_call_interface.py:54: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/core/contracts/test_contract_call_interface.py:43: in deploy | |
assert len(web3.eth.getCode(contract.address)) > 0 | |
web3/eth.py:130: in getCode | |
[account, block_identifier], | |
web3/manager.py:109: in request_blocking | |
response = self._make_request(method, params) | |
web3/manager.py:92: in _make_request | |
return request_func(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
web3/middleware/gas_price_strategy.py:18: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/attrdict.py:18: in middleware | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/normalize_errors.py:9: in middleware | |
result = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/middleware.py:326: in middleware | |
return make_request(method, params) | |
web3/middleware/fixture.py:12: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/main.py:46: in make_request | |
response = delegator(self.ethereum_tester, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/providers/eth_tester/defaults.py:36: in call_eth_tester | |
return getattr(eth_tester, fn_name)(*fn_args, **fn_kwargs) | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/main.py:243: in get_code | |
self.validator.validate_inbound_block_number(block_number) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
value = None | |
def validate_block_number(value): | |
error_message = ( | |
"Block number must be a positive integer or one of the strings " | |
"'latest', 'earliest', or 'pending'. Got: {0}".format(value) | |
) | |
if is_string(value): | |
validate_text(value) | |
if value not in BLOCK_NUMBER_META_VALUES: | |
raise ValidationError(error_message) | |
elif not is_integer(value) or is_boolean(value): | |
> raise ValidationError(error_message) | |
E eth_tester.exceptions.ValidationError: Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None | |
error_message = "Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None" | |
value = None | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/validation/inbound.py:81: ValidationError | |
__________________________________________________________ ERROR at setup of test_call_with_no_arguments[address_conversion_func1-func_last] ___________________________________________________________ | |
web3 = <web3.main.Web3 object at 0x7fa4a44b41d0>, MathContract = <class 'web3._utils.datatypes.Contract'>, address_conversion_func = <cyfunction identity at 0x7fa4a9ff83e0> | |
@pytest.fixture() | |
def math_contract(web3, MathContract, address_conversion_func): | |
> return deploy(web3, MathContract, address_conversion_func) | |
MathContract = <class 'web3._utils.datatypes.Contract'> | |
address_conversion_func = <cyfunction identity at 0x7fa4a9ff83e0> | |
web3 = <web3.main.Web3 object at 0x7fa4a44b41d0> | |
tests/core/contracts/test_contract_call_interface.py:54: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
tests/core/contracts/test_contract_call_interface.py:43: in deploy | |
assert len(web3.eth.getCode(contract.address)) > 0 | |
web3/eth.py:130: in getCode | |
[account, block_identifier], | |
web3/manager.py:109: in request_blocking | |
response = self._make_request(method, params) | |
web3/manager.py:92: in _make_request | |
return request_func(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
web3/middleware/gas_price_strategy.py:18: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/attrdict.py:18: in middleware | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/middleware/normalize_errors.py:9: in middleware | |
result = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:50: in apply_formatters | |
response = make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/middleware.py:326: in middleware | |
return make_request(method, params) | |
web3/middleware/fixture.py:12: in middleware | |
return make_request(method, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/middleware/formatting.py:48: in apply_formatters | |
response = make_request(method, formatted_params) | |
web3/providers/eth_tester/main.py:46: in make_request | |
response = delegator(self.ethereum_tester, params) | |
cytoolz/functoolz.pyx:232: in cytoolz.functoolz.curry.__call__ | |
??? | |
web3/providers/eth_tester/defaults.py:36: in call_eth_tester | |
return getattr(eth_tester, fn_name)(*fn_args, **fn_kwargs) | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/main.py:243: in get_code | |
self.validator.validate_inbound_block_number(block_number) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
value = None | |
def validate_block_number(value): | |
error_message = ( | |
"Block number must be a positive integer or one of the strings " | |
"'latest', 'earliest', or 'pending'. Got: {0}".format(value) | |
) | |
if is_string(value): | |
validate_text(value) | |
if value not in BLOCK_NUMBER_META_VALUES: | |
raise ValidationError(error_message) | |
elif not is_integer(value) or is_boolean(value): | |
> raise ValidationError(error_message) | |
E eth_tester.exceptions.ValidationError: Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None | |
error_message = "Block number must be a positive integer or one of the strings 'latest', 'earliest', or 'pending'. Got: None" | |
value = None | |
.tox/py36-core/lib/python3.6/site-packages/eth_tester/validation/inbound.py:81: ValidationError | |
===Flaky Test Report=== | |
===End Flaky Test Report=== | |
====================================================================================== slowest 10 test durations ======================================================================================= | |
0.40s setup tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[<lambda>-func_first] | |
0.19s setup tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[address_conversion_func1-func_last] | |
0.19s setup tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[address_conversion_func1-func_first] | |
0.18s setup tests/core/contracts/test_contract_call_interface.py::test_call_with_no_arguments[<lambda>-func_last] | |
(0.00 durations hidden. Use -vv to show these durations.) | |
=============================================================================== 218 deselected, 4 error in 1.39 seconds ================================================================================ | |
ERROR: InvocationError: '/home/gene/web3.py/.tox/py36-core/bin/pytest tests/core/contracts/test_contract_call_interface.py -k test_call_with_no_arguments' | |
_______________________________________________________________________________________________ summary ________________________________________________________________________________________________ | |
ERROR: py36-core: commands failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment