summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2016-09-18 20:20:06 -0700
committerFather Chrysostomos <sprout@cpan.org>2016-09-18 20:20:44 -0700
commitbccb768e4d426a431a6e9e675d1d3934a98fa089 (patch)
tree6b1b107642eed3ededf280954481fcce31396add
parentb43665fffa48dd179eba1b5616d4ca35b4def876 (diff)
downloadperl-bccb768e4d426a431a6e9e675d1d3934a98fa089.tar.gz
bop.t: Delete $SIG{__WARN__}
It is only needed for one block of tests. Leaving the handler in place makes it harder to add temporary diagnostics elsewhere in the code. (Where did my warning go? Hey, why is ‘warn’ not work- ing?????!!!! :-)
-rw-r--r--t/op/bop.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/op/bop.t b/t/op/bop.t
index 1f96e9b67a..f9bf1c5a26 100644
--- a/t/op/bop.t
+++ b/t/op/bop.t
@@ -567,6 +567,8 @@ for (
}
}
+delete $SIG{__WARN__};
+
my $strval;
{