Name : python3-deprecation
| |
Version : 2.1.0
| Vendor : Fedora Project
|
Release : 16.fc42
| Date : 2024-09-17 16:44:44
|
Group : Unspecified
| Source RPM : python-deprecation-2.1.0-16.fc42.src.rpm
|
Size : 0.04 MB
| |
Packager : Fedora Project
| |
Summary : A library to handle automated deprecations
|
Description :
The deprecation library provides a deprecated decorator and a fail_if_not_removed decorator for your tests. Together, the two enable the automation of several things:
1. The docstring of a deprecated method gets the deprecation details appended to the end of it. If you generate your API docs direct from your source, you don’t need to worry about writing your own notification. You also don’t need to worry about forgetting to write it. It’s done for you.
2. Rather than having code live on forever because you only deprecated it but never actually moved on from it, you can have your tests tell you when it’s time to remove the code. The AATTdeprecated decorator can be told when it’s time to entirely remove the code, which causes AATTfail_if_not_removed to raise an AssertionError, causing either your unittest or py.test tests to fail.
See http://deprecation.readthedocs.io/ for the full documentation.
|
RPM found in directory: /vol/rzm3/linux-fedora-buffet/fedora-secondary/development/rawhide/Everything/ppc64le/os/Packages/p |