Closed k9ert closed 5 years ago
Awesome. I'll take a look at this tomorrow. Was getting those warnings, too, and hadn't investigated yet. Really appreciate the help!
Resolved via rebase and force-push to avoid the merge-commit. http://kernowsoul.com/blog/2012/06/20/4-ways-to-avoid-merge-commits-in-git/
Seems to be no longer happening in develop. Is the testing branch still relevant?
Removes these ResourceWarnings
There are lots of other ResourceWarnings and i tried to fix them via using a ContextManager as described in https://stackoverflow.com/posts/54612520/revisions You can have a look in my testing_context_manager branch. https://github.com/k9ert/junction/commit/5684c0724b4a92c7802e23564122b5d7e52eb06d For some reason the wallet_rpc.importmulti-call resisted that solution heavily, that's why 4 tests broke and i didn't included that in this PR. Are you happy with a context-manager in general for your RPC-class? Would you be happy to use pytest? Why don't you merge the testing-branch to master? I'd worry about diverging stuff too much with too man y branches.