test: Silence pyflakes unused import warning
rpc-tests.py trial-imports zmq to determine whether it is available.
This commit is contained in:
parent
21a7ec8bfb
commit
3a91bcfac5
|
@ -195,6 +195,7 @@ def main():
|
|||
if enable_zmq:
|
||||
try:
|
||||
import zmq
|
||||
zmq # Silences pyflakes
|
||||
except ImportError:
|
||||
print("ERROR: \"import zmq\" failed. Use -nozmq to run without the ZMQ tests."
|
||||
"To run zmq tests, see dependency info in /qa/README.md.")
|
||||
|
|
Loading…
Reference in New Issue