Stand-alone test feature deprecation postponed to v0.22 (#40600)
This commit is contained in:
parent
fb584853dd
commit
4f49f7b9df
@ -1157,7 +1157,7 @@ def install_test_root(self):
|
|||||||
"""Return the install test root directory."""
|
"""Return the install test root directory."""
|
||||||
tty.warn(
|
tty.warn(
|
||||||
"The 'pkg.install_test_root' property is deprecated with removal "
|
"The 'pkg.install_test_root' property is deprecated with removal "
|
||||||
"expected v0.21. Use 'install_test_root(pkg)' instead."
|
"expected v0.22. Use 'install_test_root(pkg)' instead."
|
||||||
)
|
)
|
||||||
return install_test_root(self)
|
return install_test_root(self)
|
||||||
|
|
||||||
@ -1829,7 +1829,7 @@ def cache_extra_test_sources(self, srcs):
|
|||||||
"""
|
"""
|
||||||
msg = (
|
msg = (
|
||||||
"'pkg.cache_extra_test_sources(srcs) is deprecated with removal "
|
"'pkg.cache_extra_test_sources(srcs) is deprecated with removal "
|
||||||
"expected in v0.21. Use 'cache_extra_test_sources(pkg, srcs)' "
|
"expected in v0.22. Use 'cache_extra_test_sources(pkg, srcs)' "
|
||||||
"instead."
|
"instead."
|
||||||
)
|
)
|
||||||
warnings.warn(msg)
|
warnings.warn(msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user