[issue22143] rlcompleter.Completer has duplicate matches
Claudiu Popa
report at bugs.python.org
Thu Oct 30 14:03:38 CET 2014
Claudiu Popa added the comment:
I don't know why there's no review link for your patch. Anyway..
+ self.assertTrue(c.complete("A.foo", 0) in ['A.foo(', 'A.foobar('])
+ self.assertTrue(c.complete("A.foo", 1) in ['A.foo(', 'A.foobar('])
You can use self.assertIn for these.
+ self.assertEqual(c.complete("b.foo", 1), None)
self.assertIsNone.
Otherwise, the patch looks good to me.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22143>
_______________________________________
More information about the Python-bugs-list
mailing list