diff --git a/t/loc_tools.pl b/t/loc_tools.pl index 94b56661b239..aee321ed7a6b 100644 --- a/t/loc_tools.pl +++ b/t/loc_tools.pl @@ -578,8 +578,8 @@ ($) my $locale = shift; print STDERR "# ", __FILE__, ": ", __LINE__, ": ", "is_locale_utf8: $locale\n" if $debug; - use locale; no warnings 'locale'; # We may be trying out a weird locale + use locale; print STDERR "# ", __FILE__, ": ", __LINE__, ": ", "is_locale_utf8: $locale\n" if $debug; my $save_locale = setlocale(&POSIX::LC_CTYPE());