Show More
@@ -30,7 +30,7 b' import sys' | |||
|
30 | 30 | |
|
31 | 31 | from IPython.external import argparse |
|
32 | 32 | from IPython.utils.path import filefind, get_ipython_dir |
|
33 |
from IPython.utils import py3compat, |
|
|
33 | from IPython.utils import py3compat, warn | |
|
34 | 34 | from IPython.utils.encoding import DEFAULT_ENCODING |
|
35 | 35 | |
|
36 | 36 | #----------------------------------------------------------------------------- |
@@ -498,8 +498,6 b' class KeyValueConfigLoader(CommandLineConfigLoader):' | |||
|
498 | 498 | or dicts. When the flag is triggered, The config is loaded as |
|
499 | 499 | `self.config.update(cfg)`. |
|
500 | 500 | """ |
|
501 | from IPython.config.configurable import Configurable | |
|
502 | ||
|
503 | 501 | self.clear() |
|
504 | 502 | if argv is None: |
|
505 | 503 | argv = self.argv |
@@ -28,7 +28,7 b' from IPython.config.application import (' | |||
|
28 | 28 | ) |
|
29 | 29 | |
|
30 | 30 | from IPython.utils.traitlets import ( |
|
31 |
Bool, Unicode, Integer, |
|
|
31 | Bool, Unicode, Integer, List, Dict | |
|
32 | 32 | ) |
|
33 | 33 | |
|
34 | 34 | #----------------------------------------------------------------------------- |
@@ -161,7 +161,6 b' class TestConfigurable(TestCase):' | |||
|
161 | 161 | class TestSingletonConfigurable(TestCase): |
|
162 | 162 | |
|
163 | 163 | def test_instance(self): |
|
164 | from IPython.config.configurable import SingletonConfigurable | |
|
165 | 164 | class Foo(SingletonConfigurable): pass |
|
166 | 165 | self.assertEqual(Foo.initialized(), False) |
|
167 | 166 | foo = Foo.instance() |
General Comments 0
You need to be logged in to leave comments.
Login now