diff --git a/bob/ip/binseg/test/test_config.py b/bob/ip/binseg/test/test_config.py
index f14990408d69eee5c6aab8c515f381281ed365ec..b563c8f13c1fe22d59f9b82fd39cab126084e1c5 100644
--- a/bob/ip/binseg/test/test_config.py
+++ b/bob/ip/binseg/test/test_config.py
@@ -2,7 +2,6 @@
 # coding=utf-8
 
 import nose.tools
-from nose.plugins.attrib import attr
 
 import torch
 
@@ -13,7 +12,7 @@ from .utils import rc_variable_set
 # we only iterate over the first N elements at most - dataset loading has
 # already been checked on the individual datset tests.  Here, we are only
 # testing for the extra tools wrapping the dataset
-N = 20
+N = 10
 
 @rc_variable_set("bob.ip.binseg.drive.datadir")
 def test_drive_default():