From f9462b3cbb16446ad3475141b1380b8d803cfe16 Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 5 Sep 2012 22:24:41 +0200 Subject: [PATCH] default debug ignored modules --- debug.py | 2 +- test/run.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debug.py b/debug.py index 729c79ad..1b1f1cdd 100644 --- a/debug.py +++ b/debug.py @@ -15,7 +15,7 @@ ERROR = object() debug_function = None #debug_function = print_to_stdout -ignored_modules = [] +ignored_modules = ['parsing', 'builtin'] def dbg(*args): diff --git a/test/run.py b/test/run.py index 0f56d76f..524c6d55 100755 --- a/test/run.py +++ b/test/run.py @@ -11,7 +11,6 @@ from _compatibility import unicode, BytesIO, reduce, literal_eval import functions import debug -debug.ignored_modules = ['parsing', 'builtin'] def run_completion_test(correct, source, line_nr, index, line, path): @@ -204,7 +203,7 @@ def test_dir(completion_test_dir, thirdparty=False): summary.append(s) -# Sorry I didn't use argparse here. It's because argparse is not in the +# Sorry I didn't use argparse here. It's because argparse is not in the # stdlib in 2.5. args = sys.argv[1:] try: