Add forgotten bit preventing scan of where-binds (originally part of 1b8f2dd9)
[dbsrgits/DBIx-Class.git] / t / zzzzzzz_sqlite_deadlock.t
index 6a38d2c..b0e8f3b 100644 (file)
@@ -4,10 +4,10 @@ use warnings;
 use Test::More;
 
 use lib 't/lib';
-use DBICTest::RunMode;
-
-if ( DBICTest::RunMode->is_plain ) {
-  plan( skip_all => "Skipping test on plain module install" );
+BEGIN {
+  require DBICTest::RunMode;
+  plan( skip_all => "Skipping test on plain module install" )
+    if DBICTest::RunMode->is_plain;
 }
 
 use Test::Exception;