Skip to content

Commit

Permalink
zap pointless use of Test::Lib
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 10, 2024
1 parent 54766b1 commit d63fcae
Show file tree
Hide file tree
Showing 13 changed files with 9 additions and 15 deletions.
1 change: 0 additions & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ my %makefile_hash = (
'IPC::Cmd' => '0.72',
'Test::Exception' => 0,
'Test::Warn' => 0, # for t/pptest.t
'Test::Lib' => 0.003,
'Test2::V0' => 0.000155,
},
BUILD_REQUIRES => {
Expand Down
1 change: 0 additions & 1 deletion t/primitive/append.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;

is(
append( zeroes( 2, 0 ), zeroes( 3, 0 ) )->shape->unpdl,
Expand Down
2 changes: 0 additions & 2 deletions t/primitive/clip.t
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
use Test2::V0 '!float';
use PDL::LiteF;
use Test::Lib;
use My::Test::Primitive;

sub IM {
PDL->new(
Expand Down
2 changes: 0 additions & 2 deletions t/primitive/interpolate.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;
use My::Test::Primitive;

subtest interpol => sub {

Expand Down
2 changes: 1 addition & 1 deletion t/primitive/matmult.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

# provide independent copies of test data.
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use Test2::V0 '!float';
use PDL::LiteF;
use PDL::Types;

use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

subtest 'why are these tested in Primitive?' => sub {
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/random.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

todo 'Some CPAN Testers fails for OpenBSD' => sub {
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/selector.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Test2::V0 '!float';

use PDL::LiteF;

use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

subtest 'where' => sub {
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/setops.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

subtest 'setops' => sub {
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/stats.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

# provide independent copies of test data.
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/vector.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use warnings;
use Test2::V0 '!float';

use PDL::LiteF;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

subtest 'cmpvec' => sub {
Expand Down
2 changes: 1 addition & 1 deletion t/primitive/vsearch.t
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use Test2::V0 '!float';
use Test2::Util;

use PDL::LiteF;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

# Some of these tests are based upon those in Chapter 5 of Programming
Expand Down
2 changes: 1 addition & 1 deletion t/ufunc.t
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use warnings;
use Test::More;
use PDL::LiteF;
use PDL::Types;
use Test::Lib;
use lib 't/lib';
use My::Test::Primitive;

my $p = pdl([]); $p->setdims([1,0]); $p->qsortvec; # shouldn't segfault!
Expand Down

0 comments on commit d63fcae

Please sign in to comment.