Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 1a23e07

Browse files
committed
fix tests on systems without pdl
1 parent abd329a commit 1a23e07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/basic.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ sub run {
6262
}
6363

6464
SKIP: {
65-
skip "no PDL", 5 if !require PDL;
65+
skip "no PDL", 15 if !eval { require PDL };
6666
my $url = "https://plot.ly/~$user{un}/1";
6767
my $name = "plot from API (1)";
6868
my $box = {
@@ -85,7 +85,7 @@ sub run {
8585
}
8686

8787
SKIP: {
88-
skip "no PDL", 15 if !require PDL;
88+
skip "no PDL", 15 if !eval { require PDL };
8989
require PDL::Constants;
9090
require Storable;
9191
require PDL::IO::Storable;

0 commit comments

Comments
 (0)