Skip to content

Commit f618c58

Browse files
committed
Docs: Update python docs to reflect that wildcard imports are disallowed
1 parent 72bd4ab commit f618c58

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/functional/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ don't have test cases for.
2626
The Travis linter also checks this, but [possibly not in all cases](https://github.com/bitcoin/bitcoin/pull/14884#discussion_r239585126).
2727
- See [the python lint script](/test/lint/lint-python.sh) that checks for violations that
2828
could lead to bugs and issues in the test code.
29-
- Avoid wildcard imports where possible
29+
- Avoid wildcard imports
3030
- Use a module-level docstring to describe what the test is testing, and how it
3131
is testing it.
3232
- When subclassing the BitcoinTestFramwork, place overrides for the

test/functional/example_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# libraries then local imports).
1414
from collections import defaultdict
1515

16-
# Avoid wildcard * imports if possible
16+
# Avoid wildcard * imports
1717
from test_framework.blocktools import (create_block, create_coinbase)
1818
from test_framework.messages import CInv
1919
from test_framework.mininode import (

0 commit comments

Comments
 (0)