Martin Panter added the comment:

Here is a possible fix, just using mock.patch.object() and a context manager to 
remove the attribute after the test.

----------
keywords: +patch
stage:  -> patch review
Added file: http://bugs.python.org/file41179/repeat-rlcompleter.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to