From 0278dc9b6fb9600b671e4fdb4845554e13885050 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sun, 8 Dec 2013 11:39:55 -0800 Subject: [PATCH] Remove u'' literal in test_color_{yes,no} for Python 3.2 compat --HG-- branch : color_option --- testing/test_terminal.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 8fb01df36..1e87f5699 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -502,13 +502,13 @@ def test_color_yes(testdir): testdir.makepyfile("def test_this(): assert 1") result = testdir.runpytest('--color=yes') assert 'test session starts' in result.stdout.str() - assert u'\x1b[1m' in result.stdout.str() + assert '\x1b[1m' in result.stdout.str() def test_color_no(testdir): testdir.makepyfile("def test_this(): assert 1") result = testdir.runpytest('--color=no') assert 'test session starts' in result.stdout.str() - assert u'\x1b[1m' not in result.stdout.str() + assert '\x1b[1m' not in result.stdout.str() def test_getreportopt(): class config: