From 421ada28376a0ec268b2c67baca9c208d3c0dbd4 Mon Sep 17 00:00:00 2001 From: Brian Granger Date: Fri, 10 Aug 2012 17:21:57 -0700 Subject: [PATCH] Adding exclusion for the azure module in iptest. --- IPython/testing/iptest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index fd305ccdd..9e3741610 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -164,6 +164,7 @@ have['oct2py'] = test_for('oct2py') have['tornado'] = test_for('tornado.version_info', (2,1,0), callback=None) have['wx'] = test_for('wx') have['wx.aui'] = test_for('wx.aui') +have['azure'] = test_for('azure') if os.name == 'nt': min_zmq = (2,1,7) @@ -303,6 +304,9 @@ def make_exclude(): exclusions.append(ipjoin('extensions', 'rmagic')) exclusions.append(ipjoin('extensions', 'tests', 'test_rmagic')) + if not have['azure']: + exclusions.append(ipjoin('frontend', 'html', 'notebook', 'azurenbmanager')) + # This is needed for the reg-exp to match on win32 in the ipdoctest plugin. if sys.platform == 'win32': exclusions = [s.replace('\\','\\\\') for s in exclusions]