use new global_warnings instead of deprecated import_warnings in 002_strict_and_warnings.t
changelog
Merge branch 'pr/1045' into devel

Fixes #1045