From 368be788d7f4cfe5952d446fa7a3373015ade523 Mon Sep 17 00:00:00 2001 From: nvbn Date: Mon, 27 Jul 2015 17:51:33 +0300 Subject: [PATCH] Fix tests in python 2 --- tests/functional/plots.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/plots.py b/tests/functional/plots.py index a0cb189..3a00705 100644 --- a/tests/functional/plots.py +++ b/tests/functional/plots.py @@ -20,13 +20,13 @@ def with_confirmation(proc): def history_changed(proc): """Ensures that history changed.""" proc.send('\033[A') - assert proc.expect([TIMEOUT, 'echo test']) + assert proc.expect([TIMEOUT, u'echo test']) def history_not_changed(proc): """Ensures that history not changed.""" proc.send('\033[A') - assert proc.expect([TIMEOUT, 'fuck']) + assert proc.expect([TIMEOUT, u'fuck']) def refuse_with_confirmation(proc):