Show More
@@ -783,6 +783,13 b' def test_aimport_module_completer():' | |||
|
783 | 783 | nt.assert_in('io', matches) |
|
784 | 784 | nt.assert_not_in('int', matches) |
|
785 | 785 | |
|
786 | def test_nested_import_module_completer(): | |
|
787 | ip = get_ipython() | |
|
788 | _, matches = ip.complete(None, 'import IPython.co', 17) | |
|
789 | nt.assert_in('IPython.core', matches) | |
|
790 | nt.assert_not_in('import IPython.core', matches) | |
|
791 | nt.assert_not_in('IPython.display', matches) | |
|
792 | ||
|
786 | 793 | def test_import_module_completer(): |
|
787 | 794 | ip = get_ipython() |
|
788 | 795 | _, matches = ip.complete('i', 'import i') |
General Comments 0
You need to be logged in to leave comments.
Login now