summaryrefslogtreecommitdiff
path: root/t/loc_tools.pl
diff options
context:
space:
mode:
Diffstat (limited to 't/loc_tools.pl')
-rw-r--r--t/loc_tools.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/loc_tools.pl b/t/loc_tools.pl
index 48ff097efc..bcc54e2c4f 100644
--- a/t/loc_tools.pl
+++ b/t/loc_tools.pl
@@ -560,8 +560,8 @@ sub is_locale_utf8 ($) { # Return a boolean as to if core Perl thinks the input
my $locale = shift;
- use locale;
no warnings 'locale'; # We may be trying out a weird locale
+ use locale;
my $save_locale = setlocale(&POSIX::LC_CTYPE());
if (! $save_locale) {