##// END OF EJS Templates
Fix config test
Thomas Kluyver -
Show More
@@ -297,9 +297,9 b' class Containers(Configurable):'
297 class TestConfigContainers(TestCase):
297 class TestConfigContainers(TestCase):
298 def test_extend(self):
298 def test_extend(self):
299 c = Config()
299 c = Config()
300 c.Containers.lis.extend(range(5))
300 c.Containers.lis.extend(list(range(5)))
301 obj = Containers(config=c)
301 obj = Containers(config=c)
302 self.assertEqual(obj.lis, range(-1,5))
302 self.assertEqual(obj.lis, list(range(-1,5)))
303
303
304 def test_insert(self):
304 def test_insert(self):
305 c = Config()
305 c = Config()
General Comments 0
You need to be logged in to leave comments. Login now