Page MenuHomePhabricator

Add documentation on how to display python deprecation warnings
ClosedPublic

Authored by Fabien on Jun 28 2019, 21:53.

Details

Summary

This is a follow-up of D3462.
It is a good idea to check against the use of deprecated features on
regular basis, but doing so in python is non-trivial. This diff adds a
chapter in the functional test documentation explaining how to display
the python deprecation warnings.

Test Plan

Read it.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
python_deprecation_doc
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6581
Build 11209: Bitcoin ABC Buildbot (legacy)
Build 11208: arc lint + arc unit

Event Timeline

deadalnix requested changes to this revision.Jun 29 2019, 23:57
deadalnix added inline comments.
doc/functional-tests.md
185 ↗(On Diff #9796)

Improper english. Also, I'm not sure what this is supposed to mean. This will throw, but if you want to throw, then do X ? I think this needs to be reworded.

This revision now requires changes to proceed.Jun 29 2019, 23:57
This revision is now accepted and ready to land.Jul 1 2019, 12:03