Repository navigation
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
897d585 to
a478adb
Compare
Signed-off-by: Ilyass Emssaad <emssaadelias@gmail.com>
Signed-off-by: Ilyass Emssaad <emssaadelias@gmail.com>
a478adb to
174dc20
Compare
Bare
@deprecated()/@deprecated_arg()with no versions set treat the object as already removed and raiseDeprecatedErrorclaiming it "was removed in version None".This makes the version phrase conditional on
removedbeing set, so the bare case now says "was removed." while the versioned case still says "was removed in version ." — the same conditional-phrase pattern as #9197 fordeprecated_arg_default.Adds two message tests (
test_except1_message,test_arg_except1_message) covering both the bare and versioned cases. No in-repo caller hits this today (all pass explicit versions); it bites downstream users who use the decorators without versions.tests/utils/test_deprecated.py: 33 passed (31 existing + 2 new).Signed-off-by: Ilyass Emssaad emssaadelias@gmail.com