diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py
index 9fe81e0..f3365ff 100644
--- a/IPython/testing/iptest.py
+++ b/IPython/testing/iptest.py
@@ -199,8 +199,7 @@ def make_exclude():
 
     if not have['matplotlib']:
         exclusions.extend([ipjoin('lib', 'pylabtools'),
-                           ipjoin('lib', 'pylabtools',
-                                  'tests', 'test_pylabtools')])
+                           ipjoin('lib', 'tests', 'test_pylabtools')])
 
     # This is needed for the reg-exp to match on win32 in the ipdoctest plugin.
     if sys.platform == 'win32':