From 60c035f8745b0e4d907a786c0aec7a4501cfdcce Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Sat, 8 Feb 2014 11:19:27 -0800 Subject: [PATCH] Hardcode exception for __pycache___ --- IPython/testing/iptestcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py index e72e77e30..72412de0f 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 """