QUICKFIX: add keyword to catch_warning to restore Python3 compatibility