Stand-alone test feature deprecation postponed to v0.22 (#40600)

This commit is contained in:
Tamara Dahlgren 2023-10-19 05:03:54 -07:00 committed by GitHub
parent fb584853dd
commit 4f49f7b9df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)