[Python-checkins] cpython (2.7): Issue #22773: fix failing test with old readline versions due to issue #19884.

Benjamin Peterson benjamin at python.org
Tue Nov 4 14:58:29 CET 2014



On Tue, Nov 4, 2014, at 09:55, antoine.pitrou wrote:
> https://hg.python.org/cpython/rev/eba6e68e818c
> changeset:   93382:eba6e68e818c
> branch:      2.7
> parent:      93379:e54d0b197c82
> user:        Antoine Pitrou <solipsis at pitrou.net>
> date:        Tue Nov 04 14:52:10 2014 +0100
> summary:
>   Issue #22773: fix failing test with old readline versions due to issue
>   #19884.
> 
> files:
>   Lib/test/test_readline.py |  4 ++++
>   Modules/readline.c        |  3 +++
>   2 files changed, 7 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/Lib/test/test_readline.py b/Lib/test/test_readline.py
> --- a/Lib/test/test_readline.py
> +++ b/Lib/test/test_readline.py
> @@ -43,6 +43,10 @@
>  
>  
>  class TestReadline(unittest.TestCase):
> +
> +    @unittest.skipIf(readline._READLINE_VERSION < 0x0600

Shouldn't this use the runtime version?


More information about the Python-checkins mailing list