From 03c8adb61b06bec9414dfece720f5020433805f3 2014-02-08 19:19:27 From: Jonathan Frederic Date: 2014-02-08 19:19:27 Subject: [PATCH] Hardcode exception for __pycache___ --- diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py index e72e77e..72412de 100644 --- a/IPython/testing/iptestcontroller.py +++ b/IPython/testing/iptestcontroller.py @@ -169,7 +169,7 @@ def all_js_groups(): import glob test_dir = get_js_test_dir() all_subdirs = glob.glob(test_dir + '*/') - return [js_prefix+os.path.relpath(x, test_dir) for x in all_subdirs] + return [js_prefix+os.path.relpath(x, test_dir) for x in all_subdirs if os.path.relpath(x, test_dir) != '__pycache__'] class JSController(TestController): """Run CasperJS tests """