Issue #3339719 by omkar.podey, phenaproxima, tedbow, Wim Leers: Tests failing on failing on 9.x core branches because of deprecation error