From 9947adf38c941dfacb5a06246d3087c9390ccdb2 2010-01-06 22:18:18 From: Fernando Perez Date: 2010-01-06 22:18:18 Subject: [PATCH] Fix failing config test: https://bugs.launchpad.net/ipython/+bug/503731 Thanks to Brian for the fix! --- diff --git a/IPython/config/tests/test_loader.py b/IPython/config/tests/test_loader.py index 6b9dc28..ea06dab 100755 --- a/IPython/config/tests/test_loader.py +++ b/IPython/config/tests/test_loader.py @@ -37,11 +37,12 @@ from IPython.config.loader import ( pyfile = """ -a = 10 -b = 20 -Foo.Bar.value = 10 -Foo.Bam.value = range(10) -D.C.value = 'hi there' +c = get_config() +c.a = 10 +c.b = 20 +c.Foo.Bar.value = 10 +c.Foo.Bam.value = range(10) +c.D.C.value = 'hi there' """ class TestPyFileCL(TestCase):