##// END OF EJS Templates
AttributeError no longer raised on missing config
MinRK -
Show More
@@ -9,7 +9,7 b' Authors:'
9 9 """
10 10
11 11 #-----------------------------------------------------------------------------
12 # Copyright (C) 2008-2011 The IPython Development Team
12 # Copyright (C) 2008 The IPython Development Team
13 13 #
14 14 # Distributed under the terms of the BSD License. The full license is in
15 15 # the file COPYING, distributed as part of this software.
@@ -279,4 +279,4 b' class TestConfig(TestCase):'
279 279 self.assertEqual(c1.Foo.__class__, Config)
280 280 self.assertEqual(c1.Foo.bar, 1)
281 281 self.assertEqual(c1.Foo.baz, 2)
282 self.assertRaises(AttributeError, getattr, c2.Foo, 'baz')
282 self.assertNotIn('baz', c2.Foo)
General Comments 0
You need to be logged in to leave comments. Login now