diff --git a/test/test_utils.py b/test/test_utils.py index 565311af..15430a9c 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -29,6 +29,8 @@ class TestSetupReadline(TestCase): def test_simple(self): assert self.completions('list') == ['list'] assert self.completions('importerror') == ['ImportError'] + s = "print BaseE" + assert self.completions(s) == [s + 'xception'] def test_nested(self): assert self.completions('list.Insert') == ['list.insert']