Created
July 24, 2018 12:34
-
-
Save cburgdorf/4a976afb24f88a502eaecdbc7df8e2d6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$ sphinx-build -T -b doctest . _build/html | |
Running Sphinx v1.7.6 | |
loading pickled environment... done | |
loading intersphinx inventory from https://docs.python.org/3.5/objects.inv... | |
loading intersphinx inventory from http://eth-account.readthedocs.io/en/latest/objects.inv... | |
loading intersphinx inventory from http://hexbytes.readthedocs.io/en/latest/objects.inv... | |
building [mo]: targets for 0 po files that are out of date | |
building [doctest]: targets for 25 source files that are out of date | |
updating environment: [config changed] 28 added, 0 changed, 0 removed | |
reading sources... [100%] web3.version | |
/home/cburgdorf/Documents/hacking/ef/web3.py/docs/providers.rst:138: WARNING: duplicate label provider_uri, other instance in /home/cburgdorf/Documents/hacking/ef/web3.py/docs/quickstart.rst | |
looking for now-outdated files... none found | |
pickling environment... done | |
checking consistency... done | |
running tests... | |
Document: web3.eth.account | |
-------------------------- | |
********************************************************************** | |
File "web3.eth.account.rst", line 260, in default | |
Failed example: | |
from ethtoken.abi import EIP20_ABI | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[0]>", line 1, in <module> | |
from ethtoken.abi import EIP20_ABI | |
ModuleNotFoundError: No module named 'ethtoken' | |
********************************************************************** | |
File "web3.eth.account.rst", line 263, in default | |
Failed example: | |
unicorns = w3.eth.contract(address="0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359", abi=EIP20_ABI) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[2]>", line 1, in <module> | |
unicorns = w3.eth.contract(address="0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359", abi=EIP20_ABI) | |
NameError: name 'EIP20_ABI' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 268, in default | |
Failed example: | |
unicorn_txn = unicorns.functions.transfer( | |
'0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359', | |
1, | |
).buildTransaction({ | |
'chainId': 1, | |
'gas': 70000, | |
'gasPrice': w3.toWei('1', 'gwei'), | |
'nonce': nonce, | |
}) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[4]>", line 1, in <module> | |
unicorn_txn = unicorns.functions.transfer( | |
NameError: name 'unicorns' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 278, in default | |
Failed example: | |
unicorn_txn | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[5]>", line 1, in <module> | |
unicorn_txn | |
NameError: name 'unicorn_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 288, in default | |
Failed example: | |
signed_txn = w3.eth.account.signTransaction(unicorn_txn, private_key=private_key) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[7]>", line 1, in <module> | |
signed_txn = w3.eth.account.signTransaction(unicorn_txn, private_key=private_key) | |
NameError: name 'unicorn_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 289, in default | |
Failed example: | |
signed_txn.hash | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[8]>", line 1, in <module> | |
signed_txn.hash | |
NameError: name 'signed_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 291, in default | |
Failed example: | |
signed_txn.rawTransaction | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[9]>", line 1, in <module> | |
signed_txn.rawTransaction | |
NameError: name 'signed_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 293, in default | |
Failed example: | |
signed_txn.r | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[10]>", line 1, in <module> | |
signed_txn.r | |
NameError: name 'signed_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 295, in default | |
Failed example: | |
signed_txn.s | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[11]>", line 1, in <module> | |
signed_txn.s | |
NameError: name 'signed_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 297, in default | |
Failed example: | |
signed_txn.v | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[12]>", line 1, in <module> | |
signed_txn.v | |
NameError: name 'signed_txn' is not defined | |
********************************************************************** | |
File "web3.eth.account.rst", line 303, in default | |
Failed example: | |
w3.toHex(w3.sha3(signed_txn.rawTransaction)) | |
Exception raised: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.6/doctest.py", line 1330, in __run | |
compileflags, 1), test.globs) | |
File "<doctest default[14]>", line 1, in <module> | |
w3.toHex(w3.sha3(signed_txn.rawTransaction)) | |
NameError: name 'signed_txn' is not defined | |
********************************************************************** | |
1 items had failures: | |
11 of 47 in default | |
47 tests in 1 items. | |
36 passed and 11 failed. | |
***Test Failed*** 11 failures. | |
Doctest summary | |
=============== | |
47 tests | |
11 failures in tests | |
0 failures in setup code | |
0 failures in cleanup code | |
build finished with problems, 1 warnings. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment