Remove imcompatible tests
[gitmo/Mouse.git] / t / 010_basics / 009_import_unimport.t
index 373eb2b..61c6ea8 100755 (executable)
@@ -3,7 +3,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 41;
+use Test::More tests => 40;
 
 
 my @moose_exports = qw(
@@ -58,18 +58,7 @@ can_ok('Bar', $_) for @moose_type_constraint_exports;
     die $@ if $@;
 }
 
-{
-    local $TODO = 'Mouse::Util::TypeConstraints->unimport is not yet supported';
-    ok(!Bar->can($_), '... Bar can no longer do ' . $_) for @moose_type_constraint_exports;
-}
 
-{
-    package Baz;
+ok(!Bar->can($_), '... Bar can no longer do ' . $_) for @moose_type_constraint_exports;
 
-    use Scalar::Util qw( blessed );
-    use Mouse;
-
-    no Mouse;
-}
 
-can_ok( 'Baz', 'blessed' );