tests: update logging deprecated test

(integrated from master branch change 50250a5 by Todd Whiteman <toddw@activestate.com>)