From 73c1ae47df0e7feca047e8f80dc007f7e629c900 2013-09-30 19:23:44 From: Martín Gaitán Date: 2013-09-30 19:23:44 Subject: [PATCH] add extra blank lines on the test to proof they are ignored --- diff --git a/IPython/core/tests/test_magic.py b/IPython/core/tests/test_magic.py index e9bdd62..71345d6 100644 --- a/IPython/core/tests/test_magic.py +++ b/IPython/core/tests/test_magic.py @@ -62,7 +62,7 @@ def test_extract_code_ranges(): def test_extract_symbols(): - source = """import foo\na = 10\ndef b():\n return 42\nclass A: pass\n""" + source = """import foo\na = 10\ndef b():\n return 42\n\n\nclass A: pass\n\n\n""" symbols_args = ["a", "b", "A", "A,b", "A,a", "z"] expected = [[], ["def b():\n return 42\n"],