Merge branch 'master' into topic/constructor_rewrite
[dbsrgits/DBIx-Class-Historic.git] / t / cdbi / 24-meta_info.t
index 67a09ab..f2fc57f 100644 (file)
@@ -1,10 +1,14 @@
 use strict;
+use warnings;
 use Test::More;
 use Test::Warn;
 
 use lib 't/cdbi/testlib';
 use DBIC::Test::SQLite (); # this will issue the necessary SKIPs on missing reqs
 
+eval { require Time::Piece }
+  or plan skip_all => 'Time::Piece required for this test';
+
 package Temp::DBI;
 use base qw(DBIx::Class::CDBICompat);
 Temp::DBI->columns(All => qw(id date));